From ee2ec6abbcfb6de48a8f5594e05ba0a837216fa8 Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 10 Sep 2018 19:08:04 +0200 Subject: apic et al. --- kernel/exceptions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/exceptions.c') diff --git a/kernel/exceptions.c b/kernel/exceptions.c index 3030b9c..0c8f6af 100644 --- a/kernel/exceptions.c +++ b/kernel/exceptions.c @@ -3,6 +3,7 @@ #include "asm_x86.h" #include "smp.h" +#include "apic.h" static void defklog(uint32_t esp) { @@ -36,7 +37,7 @@ void exception_handle(uint32_t esp, uint32_t irq) { uint32_t error_code=0; - klog("EXCEPTION: apicID: 0x%08X",apicID()); + klog("EXCEPTION: apicID: 0x%08X",apic_id()); klog("EXCEPTION: vector nr.: %d",irq); switch(irq){ //this interrupts push also an error_code -- cgit v1.2.3