diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-06-09 23:53:47 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-06-09 23:53:47 +0300 |
| commit | 45b51617a0e3513a453c20229e02fd8fc9fbbfe1 (patch) | |
| tree | 1ff6e23aea786c2b32521bb834e1fc133129101b /common/vmem.c | |
| parent | da8eeb7695a4803d1d45c8c26c05a51fb1ba1e55 (diff) | |
| download | kmi-45b51617a0e3513a453c20229e02fd8fc9fbbfe1.tar.gz kmi-45b51617a0e3513a453c20229e02fd8fc9fbbfe1.zip | |
use doxygen todo
Diffstat (limited to 'common/vmem.c')
| -rw-r--r-- | common/vmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/vmem.c b/common/vmem.c index 66c3d53..f446b65 100644 --- a/common/vmem.c +++ b/common/vmem.c @@ -57,7 +57,7 @@ vm_t alloc_uvmem(struct tcb *t, size_t size, vmflags_t flags) stat_t status = OK; const vm_t v = alloc_region(&t->sp_r, size, &size, flags); const vm_t w = map_allocd_region(t->proc.vmem, v, size, flags, &status); - /* \todo: this could be changed so that each thread allocated the memory + /** \todo this could be changed so that each thread allocated the memory * region for itself to start with, and only when someone tries to * access it from some other thread, is it actually cloned. Would likely * need some major reworkings, so this is good enough for now. */ @@ -122,7 +122,7 @@ vm_t ref_shared_uvmem(struct tcb *t1, struct tcb *t2, vm_t va, vmflags_t flags) return v; } -/* \todo: assume tcb is root tcb? */ +/** \todo assume tcb is root tcb? */ stat_t free_uvmem(struct tcb *t, vm_t va) { struct mem_region *m = find_used_region(&t->sp_r, va); |
