summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorsigsegv7 <ian@vegaa.systems>2023-09-14 00:03:12 -0400
committersigsegv7 <ian@vegaa.systems>2023-09-14 00:03:12 -0400
commitec0809d472d0f79420b7e0cebc32a01b93aeff39 (patch)
tree1b306b2f45ab5b96c71d16ed46db817f2a51ba3e /sys/kern
parent80c0269215b5ebbfa366a3b6a1880928c2add47a (diff)
kernel: init: Init ACPI before processor
This commit ensures basic ACPI stuff will get set up before processor_init() is called... Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 7b4bad1..f874ca8 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -49,11 +49,10 @@ main(void)
VEGA_ARCH, VEGA_VERSION, VEGA_BUILDDATE,
VEGA_BUILDBRANCH);
+ acpi_init();
processor_init();
vm_physseg_init();
- acpi_init();
-
/* We're done here, halt the processor */
__ASMV("cli; hlt");
}