From ec0809d472d0f79420b7e0cebc32a01b93aeff39 Mon Sep 17 00:00:00 2001 From: sigsegv7 Date: Thu, 14 Sep 2023 00:03:12 -0400 Subject: 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 --- sys/kern/init_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/kern') 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"); } -- cgit v1.2.3