diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-04 15:50:57 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-04 15:53:44 -0400 |
commit | 996e41f4d86d9369d62700383ab090bdba2be9a7 (patch) | |
tree | 0c690cc286a8a8d3f4bb524b7c9f4ea8bfaa2c62 /sys/kern | |
parent | d6f85b7c3f4c4d28d1a80799618535786af24b8f (diff) |
kernel: Add initial ACPI code
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index d520542..0071a20 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -30,6 +30,7 @@ #include <sys/reboot.h> #include <sys/syslog.h> #include <dev/cons/cons.h> +#include <dev/acpi/acpi.h> #include <machine/cpu.h> int @@ -40,6 +41,9 @@ main(void) kprintf("Starting Hyra/%s v%s: %s\n", HYRA_ARCH, HYRA_VERSION, HYRA_BUILDDATE); + /* Start the ACPI subsystem */ + acpi_init(); + /* Startup the BSP */ cpu_startup(); |