aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorian <ian>2023-07-13 23:51:10 +0000
committerian <ian>2023-07-13 23:51:10 +0000
commit184a9da6dee828cecc1ceeef5dfc8c655b6f0efa (patch)
tree957ab471b679807e5e5e7940361810f734748843 /sys/kern
parentdf2c51f5b9a09d8f7feb54fabf9cde9f375bb752 (diff)
kernel/acpi: Add basic ACPI Init logic
git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@13 a8a8aea2-181d-ee11-89e8-15fd0e089fc4
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 6fbc48c..b3a1e8b 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -33,6 +33,7 @@
#include <sys/tty.h>
#include <sys/syslog.h>
#include <sys/machdep.h>
+#include <firmware/acpi/acpi.h>
#include <vm/vm_physseg.h>
#include <logo.h>
@@ -56,6 +57,8 @@ main(void)
processor_init(&bsp);
vm_physseg_init();
+ acpi_init();
+
/* We're done here, halt the processor */
__ASMV("cli; hlt");
}