diff options
author | Ian Moffett <ian@osmora.org> | 2024-07-09 01:36:06 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-07-09 01:36:06 -0400 |
commit | 6f4d198c73aab91797cdb55744f83c0e374df2c3 (patch) | |
tree | 265260156650eb914efcf313479fa75932fa75e4 /sys/kern | |
parent | a768baa745c3f4804b7965419956adb5b7d6ef87 (diff) |
kernel: Call vm_init() before acpi_init()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 6 |
1 files 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); |