summaryrefslogtreecommitdiff
path: root/Source/Kernel/SyscallManager
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-09-12 19:31:53 +0200
committerAlexis211 <alexis211@gmail.com>2009-09-12 19:31:53 +0200
commit267bda33af7c2f4efa107496a9cbd6726b53a101 (patch)
tree1fc9cc78017c98e58ee539dad45f78ea97419684 /Source/Kernel/SyscallManager
parent7b0d6ac9f903296c7537cec9ac606d49cb364049 (diff)
downloadMelon-267bda33af7c2f4efa107496a9cbd6726b53a101.tar.gz
Melon-267bda33af7c2f4efa107496a9cbd6726b53a101.zip
Fixed some bugs
Diffstat (limited to 'Source/Kernel/SyscallManager')
-rw-r--r--Source/Kernel/SyscallManager/IDT.ns.cpp2
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.", &regs);
Task::currentThread->handleException(regs, regs.int_no);
} else if (regs.int_no < 48) {
if (regs.int_no >= 40)