From 7db6db5ae64e7ab2626bbd898c63f58e053dc1a6 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 25 Apr 2021 12:41:24 +0200 Subject: Debug multiboot, enable apic and ACPI table parsing --- src/boucane.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/boucane.cc') diff --git a/src/boucane.cc b/src/boucane.cc index aa06152..6541902 100644 --- a/src/boucane.cc +++ b/src/boucane.cc @@ -2,6 +2,8 @@ #include "core/idt.hpp" #include "boot/multiboot2.hpp" #include "core/paging.hpp" +#include "core/apic.hpp" +#include "drivers/acpi.hpp" extern u32 MB_INFO; @@ -11,11 +13,12 @@ extern "C" void boucane(){ idt_enable_interrupt(); paging_enable(); + //apic_enable(); u64 p; u32 size; if(mb2_find_old_rsdp((u32*)MB_INFO,&p,&size)){ - printk("RSDP Table found!"); + acpi_load_madt((void*)p); } while(1); } \ No newline at end of file -- cgit v1.2.3