diff options
author | Alexis211 <alexis211@gmail.com> | 2009-09-12 19:31:53 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-09-12 19:31:53 +0200 |
commit | 267bda33af7c2f4efa107496a9cbd6726b53a101 (patch) | |
tree | 1fc9cc78017c98e58ee539dad45f78ea97419684 /Source/Kernel/SyscallManager | |
parent | 7b0d6ac9f903296c7537cec9ac606d49cb364049 (diff) | |
download | Melon-267bda33af7c2f4efa107496a9cbd6726b53a101.tar.gz Melon-267bda33af7c2f4efa107496a9cbd6726b53a101.zip |
Fixed some bugs
Diffstat (limited to 'Source/Kernel/SyscallManager')
-rw-r--r-- | Source/Kernel/SyscallManager/IDT.ns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |