diff options
| author | Miguel <m.i@gmx.at> | 2018-09-10 19:08:04 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-10 19:08:04 +0200 |
| commit | ee2ec6abbcfb6de48a8f5594e05ba0a837216fa8 (patch) | |
| tree | 6173e5182459529ac5dc3fbb59b30fd37c5ee4ab /kernel/exceptions.c | |
| parent | 65f5cca027af81e77b3e06da658b6d13f1861a03 (diff) | |
apic et al.
Diffstat (limited to 'kernel/exceptions.c')
| -rw-r--r-- | kernel/exceptions.c | 3 |
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 |
