aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-05 23:25:58 -0400
committerIan Moffett <ian@osmora.org>2024-06-05 23:25:58 -0400
commit70b572c7ce18d0cdd0763e41c724785e13dcb713 (patch)
treeb619ad6825ef95465818e9c7006c357bf7db992e /sys/kern
parentdbfcd0e88e471564392549652d0bde2a967c34f4 (diff)
kernel: init_main: Init virtual memory subsystem
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 0071a20..6f17227 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -32,6 +32,7 @@
#include <dev/cons/cons.h>
#include <dev/acpi/acpi.h>
#include <machine/cpu.h>
+#include <vm/vm.h>
int
main(void)
@@ -44,6 +45,9 @@ main(void)
/* Start the ACPI subsystem */
acpi_init();
+ /* Init the virtual memory subsystem */
+ vm_init();
+
/* Startup the BSP */
cpu_startup();