diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-21 17:32:50 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-21 17:32:50 +0200 |
commit | 7708a5f335c6b3256290775e7f5deb43b681bf03 (patch) | |
tree | 8ddb55ee633a70ea298a812d5ffec97373631534 /Source/Kernel/SyscallManager | |
parent | 9836acd720988af30250c2c1ec18d618664dea4e (diff) | |
download | Melon-7708a5f335c6b3256290775e7f5deb43b681bf03.tar.gz Melon-7708a5f335c6b3256290775e7f5deb43b681bf03.zip |
More work
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 63b340a..f447e6f 100644 --- a/Source/Kernel/SyscallManager/IDT.ns.cpp +++ b/Source/Kernel/SyscallManager/IDT.ns.cpp @@ -80,11 +80,11 @@ extern "C" void interrupt_handler(registers_t regs) { u8int wat = (regs.eax & 0xFF); if (res == 0xFFFFFF) { if (regs.eax == 0xFFFFFF01) { - Task::currProcess()->getVirtualTerminal()->put(WChar(regs.ebx)); + Task::currProcess()->getOutVT()->put(WChar(regs.ebx)); } else if (regs.eax == 0xFFFFFF02) { Task::currThread()->sleep(regs.ebx); } else if (regs.eax == 0xFFFFFF03) { - Task::currProcess()->getVirtualTerminal()->writeHex(regs.ebx); + Task::currProcess()->getOutVT()->writeHex(regs.ebx); } } else { regs.eax = Res::call(res, wat, regs.ebx, regs.ecx, regs.edx, regs.edi, regs.esi); |