diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-25 12:41:24 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-25 12:41:24 +0200 |
| commit | 7db6db5ae64e7ab2626bbd898c63f58e053dc1a6 (patch) | |
| tree | aac3b4b8755acbea397709a00611642c2534f053 /src/boucane.cc | |
| parent | 657372f1be95393b76a54f258ba3f937b4073abe (diff) | |
Debug multiboot, enable apic and ACPI table parsing
Diffstat (limited to 'src/boucane.cc')
| -rw-r--r-- | src/boucane.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
