aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/memory/paging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/memory/paging.h')
-rw-r--r--src/kernel/memory/paging.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/memory/paging.h b/src/kernel/memory/paging.h
index f42bb2e..3d3b176 100644
--- a/src/kernel/memory/paging.h
+++ b/src/kernel/memory/paging.h
@@ -3,7 +3,9 @@
#include <stdint.h>
-#define PAGE_SIZE 0x400000
+#define PAGE_ALIGN 4096
+#define PAGE_COUNT 1024
+#define PAGE_SIZE PAGE_ALIGN *PAGE_COUNT
#define PD_PRESENT 1 << 0
#define PD_RW 1 << 1