From 2d173beb3392aff35c8a33f4ac001bf63bb9adc6 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 25 Sep 2021 14:56:43 +0300 Subject: Used memory regions now marked + I don't fully trust my memory management system yet, so should probably check the memory regions it gives. --- arch/riscv/include/pages.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/riscv/include/pages.h') diff --git a/arch/riscv/include/pages.h b/arch/riscv/include/pages.h index 1533f7b..82ce6c7 100644 --- a/arch/riscv/include/pages.h +++ b/arch/riscv/include/pages.h @@ -12,4 +12,9 @@ typedef uint64_t pm_t; #define MM_GPAGE MM_O2 #define MM_TPAGE MM_O3 +#define MM_KPAGE_SIZE SZ_4K +#define MM_MPAGE_SIZE SZ_2M +#define MM_GPAGE_SIZE SZ_1G +#define MM_TPAGE_SIZE SZ_512G + #endif /* APOS_RISCV_PAGES_H */ -- cgit v1.3