From 6295648f04d1d5d7e8b99d3fdaa8d497406eadf9 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 29 May 2022 21:48:00 +0300 Subject: continue documentation --- include/apos/mem.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/apos/mem.h') diff --git a/include/apos/mem.h b/include/apos/mem.h index a0f32f5..20293db 100644 --- a/include/apos/mem.h +++ b/include/apos/mem.h @@ -159,6 +159,8 @@ */ #define order_bit(idx) ((idx) & (MM_OINFO_WIDTH - 1)) +/** @todo Get rid of slightly ugly __* syntax, as these aren't static. */ + /** * Convert physical address to virtual address in direct mapping. * @@ -178,7 +180,7 @@ /** * Get page number of physical address. * - * @todo Isn't this the same as \ref pnum_to_pm()? + * @todo Isn't this the same as \ref pm_to_pnum()? * * @param x Physical address. * @return Corresponding page number. @@ -214,7 +216,7 @@ #define MR_OWNED (1 << 10) /** Copy on write. */ #define MR_COW (1 << 11) -/** Don't free memory on flush. */ +/** Don't free memory on clear. */ #define MR_KEEP (1 << 12) /** @} */ -- cgit v1.3