summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/inc/vm/vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/inc/vm/vm.h b/sys/inc/vm/vm.h
index 7bf24f1..e1866cb 100644
--- a/sys/inc/vm/vm.h
+++ b/sys/inc/vm/vm.h
@@ -36,6 +36,7 @@
extern volatile struct limine_hhdm_request hhdm_req;
+#define PAGESIZE 0x1000
#define PHYS_TO_VIRT(PHYS) PTR_OFFSET(PHYS, hhdm_req.response->offset)
#define VIRT_TO_PHYS(VIRT) (uintptr_t)PTR_NOFFET(VIRT, hhdm_req.response->offset)