summaryrefslogtreecommitdiff
path: root/kernel/exceptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exceptions.c')
-rw-r--r--kernel/exceptions.c3
1 files changed, 2 insertions, 1 deletions
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