summaryrefslogtreecommitdiff
path: root/sys/inc
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-17 18:39:03 -0500
committerIan Moffett <ian@osmora.org>2025-11-17 18:39:03 -0500
commitbf94209175e843462ef9965fc7003452d55ea041 (patch)
treea953b6d4a0132d764770a81452df22271f813009 /sys/inc
parente44584b5ae7aaf43d2241138149b38ff15072e60 (diff)
kern: vm: Fix typo in VIRT_TO_PHYS()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc')
-rw-r--r--sys/inc/vm/vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/inc/vm/vm.h b/sys/inc/vm/vm.h
index daf865f..ec6e6e7 100644
--- a/sys/inc/vm/vm.h
+++ b/sys/inc/vm/vm.h
@@ -39,7 +39,7 @@ extern volatile struct limine_hhdm_request hhdm_req;
#define PAGESIZE 0x1000
#define KERN_BASE hhdm_req.response->offset
#define PHYS_TO_VIRT(PHYS) PTR_OFFSET(PHYS, KERN_BASE)
-#define VIRT_TO_PHYS(VIRT) (uintptr_t)PTR_NOFFET(VIRT, KERN_BASE)
+#define VIRT_TO_PHYS(VIRT) (uintptr_t)PTR_NOFFSET(VIRT, KERN_BASE)
/*
* Initialize the virtual memory management