diff options
Diffstat (limited to 'kernel/exceptions.c')
| -rw-r--r-- | kernel/exceptions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/exceptions.c b/kernel/exceptions.c index f56536b..bcb5c40 100644 --- a/kernel/exceptions.c +++ b/kernel/exceptions.c @@ -1,5 +1,6 @@ #include "kernel.h" #include "exceptions.h" +#include "scheduler.h" #include "log.h" #include "asm_x86.h" @@ -39,6 +40,7 @@ void exception_handle(uint32_t esp, uint32_t irq) uint32_t error_code=0; klog("EXCEPTION: apicID: 0x%08X",apic_id()); + klog("EXCEPTION: task: %d",task_get_current_pid()); klog("EXCEPTION: vector nr.: %d",irq); switch(irq){ //this interrupts push also an error_code |
