diff options
Diffstat (limited to 'Source/Kernel/VTManager/VirtualTerminal.proto.cpp')
-rw-r--r-- | Source/Kernel/VTManager/VirtualTerminal.proto.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/Kernel/VTManager/VirtualTerminal.proto.cpp b/Source/Kernel/VTManager/VirtualTerminal.proto.cpp index 2587369..0079707 100644 --- a/Source/Kernel/VTManager/VirtualTerminal.proto.cpp +++ b/Source/Kernel/VTManager/VirtualTerminal.proto.cpp @@ -5,25 +5,6 @@ #include <VirtualTerminal.iface.h> -call_t VirtualTerminal::m_callTable[] = { - CALL1(VTIF_WRITEHEX, &VirtualTerminal::writeHexSC), - CALL2(VTIF_WRITEDEC, &VirtualTerminal::writeDecSC), - CALL1(VTIF_WRITE, &VirtualTerminal::writeSC), - CALL1(VTIF_PUT, &VirtualTerminal::putSC), - CALL0(VTIF_READLINE, &VirtualTerminal::readLineSC), - CALL1(VTIF_SETCOLOR, &VirtualTerminal::setColorSC), - CALL1(VTIF_SETCSRLINE, &VirtualTerminal::setCursorLineSC), - CALL1(VTIF_SETCSRCOL, &VirtualTerminal::setCursorColSC), - CALL0(VTIF_ISBOXED, &VirtualTerminal::isBoxedSC), - CALL0(0, 0) -}; - -u32int VirtualTerminal::scall(u8int wat, u32int a, u32int b, u32int c, u32int d) { - if (wat == VTIF_SGETPRINVT) return Task::currProcess()->getInVT()->resId(); - if (wat == VTIF_SGETPROUTVT) return Task::currProcess()->getOutVT()->resId(); - return (u32int) - 1; -} - VirtualTerminal::VirtualTerminal() : Ressource(VTIF_OBJTYPE, m_callTable), m_kbdMutex(false), m_kbdbuffMutex(false), m_kbdbuff() { } |