aboutsummaryrefslogtreecommitdiffstats
path: root/vgaterminal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vgaterminal.cpp')
-rw-r--r--vgaterminal.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/vgaterminal.cpp b/vgaterminal.cpp
index f2bb081..8158b14 100644
--- a/vgaterminal.cpp
+++ b/vgaterminal.cpp
@@ -46,11 +46,9 @@ void VGATerminal::checkpos() noexcept
void VGATerminal::updatecursor() const noexcept
{
- asm volatile("cli");
outb(0x03d4, 0x0f);
outb(0x03d5, static_cast<std::uint8_t>(offset));
outb(0x03d4, 0x0e);
outb(0x03d5, static_cast<std::uint8_t>(offset >> 8));
- asm volatile("sti");
}