diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-19 10:48:40 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-12-19 10:48:40 +0200 |
| commit | 8bb1e280280c2f30740defca68ea643c56a3d880 (patch) | |
| tree | 6cc0e6ea37554b5c397a0987c21807950e931cdf /include/apos/mem.h | |
| parent | 383e55e6bb725a01f652a9fb74f6103b2c789793 (diff) | |
| download | kmi-8bb1e280280c2f30740defca68ea643c56a3d880.tar.gz kmi-8bb1e280280c2f30740defca68ea643c56a3d880.zip | |
[WIP] virtual memory management
Diffstat (limited to 'include/apos/mem.h')
| -rw-r--r-- | include/apos/mem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/apos/mem.h b/include/apos/mem.h index 7c5a2dc..0b3bffd 100644 --- a/include/apos/mem.h +++ b/include/apos/mem.h @@ -39,4 +39,7 @@ extern size_t __mm_max_order; void init_mem(size_t max_order, size_t shifts[10], size_t page_shift); enum mm_mode_t get_mmode(void *fdt); +#define BASE_PAGE_SIZE (__o_size(BASE_PAGE)) +#define BASE_PAGE (MM_O0) + #endif /* APOS_MEM_H */ |
