git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
grow on demand heap
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
mm
/
page.h
diff --git
a/lunaix-os/includes/lunaix/mm/page.h
b/lunaix-os/includes/lunaix/mm/page.h
index e97de1d80b41cab1660ee0e2b886666fb195d5c5..4ea31bc0a5221cdb4642ebb955cdaf5642bae486 100644
(file)
--- a/
lunaix-os/includes/lunaix/mm/page.h
+++ b/
lunaix-os/includes/lunaix/mm/page.h
@@
-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