summaryrefslogtreecommitdiff
path: root/sys/inc/vm/vm.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-16 14:34:14 -0500
committerIan Moffett <ian@osmora.org>2025-11-16 14:34:14 -0500
commit5ed7a0707f13662384ef77bec3faaaffdfd36772 (patch)
treeb312c412f0aafae484b77ac1dda712dfca03a269 /sys/inc/vm/vm.h
parent2ff21cc5011f0359715d4ac557ea7a1e64d1b5d5 (diff)
kern/amd64+mu: Add initial virtual memory sources
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc/vm/vm.h')
-rw-r--r--sys/inc/vm/vm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/inc/vm/vm.h b/sys/inc/vm/vm.h
index e1866cb..4134005 100644
--- a/sys/inc/vm/vm.h
+++ b/sys/inc/vm/vm.h
@@ -40,4 +40,10 @@ extern volatile struct limine_hhdm_request hhdm_req;
#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)
+/*
+ * Initialize the virtual memory management
+ * subsystem
+ */
+void vm_init(void);
+
#endif /* !_VM_VM_H_ */