From 45b51617a0e3513a453c20229e02fd8fc9fbbfe1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 9 Jun 2022 23:53:47 +0300 Subject: use doxygen todo --- common/vmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/vmem.c') 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); -- cgit v1.3