diff options
Diffstat (limited to 'src/kernel/arch/amd64/boot.c')
-rw-r--r-- | src/kernel/arch/amd64/boot.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/boot.c b/src/kernel/arch/amd64/boot.c index 337d23b..330a11e 100644 --- a/src/kernel/arch/amd64/boot.c +++ b/src/kernel/arch/amd64/boot.c @@ -1,4 +1,5 @@ #include <kernel/arch/amd64/3rdparty/multiboot2.h> +#include <kernel/arch/amd64/acpi.h> #include <kernel/arch/amd64/boot.h> #include <kernel/arch/amd64/driver/driver.h> #include <kernel/arch/amd64/driver/serial.h> @@ -71,6 +72,12 @@ void kmain_early(void *mbi) { video_init(vid); pata_init(); + { + struct multiboot_tag_old_acpi *mod; + mod = mbi_tag(mbi, MULTIBOOT_TAG_TYPE_ACPI_OLD); + acpi_parse(mod->rsdp); + } + kprintf("pci...\n"); pci_init(); |