diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-21 17:33:12 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-21 17:33:12 +0200 |
commit | dc37d089e8ca98ff2dc8a320c21fc3ac0a87eaa6 (patch) | |
tree | 8ddb55ee633a70ea298a812d5ffec97373631534 /Source/Kernel/SyscallManager/IDT.ns.cpp | |
parent | 768ada13917aeda373e6ff5fee21faf90c963746 (diff) | |
parent | 7708a5f335c6b3256290775e7f5deb43b681bf03 (diff) | |
download | Melon-dc37d089e8ca98ff2dc8a320c21fc3ac0a87eaa6.tar.gz Melon-dc37d089e8ca98ff2dc8a320c21fc3ac0a87eaa6.zip |
Merge branch 'usermode_syscalls'
Diffstat (limited to 'Source/Kernel/SyscallManager/IDT.ns.cpp')
-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); |