diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 21:48:00 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-29 21:48:00 +0300 |
| commit | 6295648f04d1d5d7e8b99d3fdaa8d497406eadf9 (patch) | |
| tree | d2bbe97ae40213356f9e2611285a78f7bac04bca /include/apos/mem.h | |
| parent | 1f7f2251faaef84cd441088f02a66440fa7b59cc (diff) | |
| download | kmi-6295648f04d1d5d7e8b99d3fdaa8d497406eadf9.tar.gz kmi-6295648f04d1d5d7e8b99d3fdaa8d497406eadf9.zip | |
continue documentation
Diffstat (limited to 'include/apos/mem.h')
| -rw-r--r-- | include/apos/mem.h | 6 |
1 files changed, 4 insertions, 2 deletions
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) /** @} */ |
