From c712d7f6f801b073920c7b914ee1b95358113893 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 8 Nov 2009 16:51:30 +0100 Subject: Introduced V86 mode. It really fits in nicely :) --- Source/Kernel/SyscallManager/IDT.ns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Kernel/SyscallManager/IDT.ns.cpp') diff --git a/Source/Kernel/SyscallManager/IDT.ns.cpp b/Source/Kernel/SyscallManager/IDT.ns.cpp index 042ef92..7c4b5cb 100644 --- a/Source/Kernel/SyscallManager/IDT.ns.cpp +++ b/Source/Kernel/SyscallManager/IDT.ns.cpp @@ -67,7 +67,7 @@ extern "C" void interrupt_handler(registers_t regs) { if (regs.int_no < 32) { if ((u32int)Task::currThread() == 0xFFFFFFFF or Task::currThread() == 0) PANIC_DUMP("Exception cannot be handled.", ®s); - Task::currThread()->handleException(regs, regs.int_no); + Task::currThread()->handleException(®s, regs.int_no); } else if (regs.int_no < 48) { if (regs.int_no >= 40) outb(0xA0, 0x20); -- cgit v1.2.3