grow on demand heap
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / page.h
index e97de1d80b41cab1660ee0e2b886666fb195d5c5..4ea31bc0a5221cdb4642ebb955cdaf5642bae486 100644 (file)
@@ -3,7 +3,8 @@
 #include <stdint.h>
 #include <lunaix/constants.h>
 
-#define PG_SIZE_BITS              12
+#define PG_SIZE_BITS                12
+#define PG_SIZE                     (1 << PG_SIZE_BITS)
 #define PG_INDEX_BITS               10
 
 #define PG_MAX_ENTRIES              1024U