From 267bda33af7c2f4efa107496a9cbd6726b53a101 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sat, 12 Sep 2009 19:31:53 +0200 Subject: Fixed some bugs --- Source/Kernel/SyscallManager/IDT.ns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Kernel/SyscallManager') diff --git a/Source/Kernel/SyscallManager/IDT.ns.cpp b/Source/Kernel/SyscallManager/IDT.ns.cpp index f31c789..a27dfa9 100644 --- a/Source/Kernel/SyscallManager/IDT.ns.cpp +++ b/Source/Kernel/SyscallManager/IDT.ns.cpp @@ -64,7 +64,7 @@ extern "C" void interrupt_handler(registers_t regs) { bool doSwitch = (regs.int_no == 32 or regs.int_no >= 65); //SYSCALLS >= 65 are task-managing-related if (regs.int_no < 32) { if ((u32int)Task::currentThread == 0xFFFFFFFF or Task::currentThread == 0) - PANIC("Exception cannot be handled."); + PANIC_DUMP("Exception cannot be handled.", ®s); Task::currentThread->handleException(regs, regs.int_no); } else if (regs.int_no < 48) { if (regs.int_no >= 40) -- cgit v1.2.3