From 6f4d198c73aab91797cdb55744f83c0e374df2c3 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 9 Jul 2024 01:36:06 -0400 Subject: kernel: Call vm_init() before acpi_init() Signed-off-by: Ian Moffett --- sys/kern/init_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 71763b3..a8154f8 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -68,12 +68,12 @@ main(void) kprintf("Starting Hyra/%s v%s: %s\n", HYRA_ARCH, HYRA_VERSION, HYRA_BUILDDATE); - /* Start the ACPI subsystem */ - acpi_init(); - /* Init the virtual memory subsystem */ vm_init(); + /* Start the ACPI subsystem */ + acpi_init(); + /* Startup the BSP */ cpu_startup(&g_bsp_ci); -- cgit v1.2.3