diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-11 18:38:05 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-11 18:38:05 +0200 |
commit | 3be1804db57e5d1ff08f46c7b7418729da631c26 (patch) | |
tree | e91e0197b3009080647f448542ff2a16c00946cb /Source/Kernel/SyscallManager | |
parent | 244df8bd2c52db9d9c9b59b917206dafcd275ebe (diff) | |
download | Melon-3be1804db57e5d1ff08f46c7b7418729da631c26.tar.gz Melon-3be1804db57e5d1ff08f46c7b7418729da631c26.zip |
Tasking now works with linked lists
Diffstat (limited to 'Source/Kernel/SyscallManager')
-rw-r--r-- | Source/Kernel/SyscallManager/IDT.ns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Kernel/SyscallManager/IDT.ns.cpp b/Source/Kernel/SyscallManager/IDT.ns.cpp index 36c584d..1a62d88 100644 --- a/Source/Kernel/SyscallManager/IDT.ns.cpp +++ b/Source/Kernel/SyscallManager/IDT.ns.cpp @@ -63,9 +63,9 @@ extern "C" void idt_flush(u32int); 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) + if ((u32int)Task::currThread() == 0xFFFFFFFF or Task::currThread() == 0) PANIC_DUMP("Exception cannot be handled.", ®s); - Task::currentThread->handleException(regs, regs.int_no); + Task::currThread()->handleException(regs, regs.int_no); } else if (regs.int_no < 48) { if (regs.int_no >= 40) outb(0xA0, 0x20); |