diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-24 21:18:55 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-05-24 21:18:55 +0300 |
| commit | e033569910aecb4d8fb437a622e542b8803834ec (patch) | |
| tree | b7e31d1b266dfbd3b1aa79ae4db47d584541c8bc /include/apos/mem.h | |
| parent | 12be40e22aae582cca9abbd151031edaab800cae (diff) | |
| download | kmi-e033569910aecb4d8fb437a622e542b8803834ec.tar.gz kmi-e033569910aecb4d8fb437a622e542b8803834ec.zip | |
initial musings about exec
Diffstat (limited to 'include/apos/mem.h')
| -rw-r--r-- | include/apos/mem.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/apos/mem.h b/include/apos/mem.h index 7d24e0e..b6d76c1 100644 --- a/include/apos/mem.h +++ b/include/apos/mem.h @@ -48,14 +48,16 @@ __page((x) + BASE_PAGE_SIZE)) #define __bytes(x) (__addr(x)) -/* if memory region is used or not */ +/** If memory region is used or not */ #define MR_USED (1 << 8) -/* if memory region is shared */ +/** If memory region is shared */ #define MR_SHARED (1 << 9) -/* owner of shared region */ +/** Owner of shared region */ #define MR_OWNED (1 << 10) -/* copy on write */ +/** Copy on write. */ #define MR_COW (1 << 11) +/** Don't free memory on flush. */ +#define MR_KEEP (1 << 12) extern size_t __mm_shifts[10]; extern size_t __mm_widths[10]; |
