aboutsummaryrefslogtreecommitdiff
path: root/src/boucane.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/boucane.cc')
-rw-r--r--src/boucane.cc5
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