summaryrefslogtreecommitdiff
path: root/Kernel/VGA.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-24 13:19:36 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-24 13:19:36 +0200
commit5f36a5f22e8bf0e9de9a8059722352d2f8cf9b5f (patch)
treedcb425849c408c6d2adf9f195ee34d23acd8901d /Kernel/VGA.cpp
parentbca4b71bfa1e3db74aaa706a9849e36768282a95 (diff)
downloadserenity-5f36a5f22e8bf0e9de9a8059722352d2f8cf9b5f.zip
Add an lstat() syscall and use it to make "ls" nicer.
Diffstat (limited to 'Kernel/VGA.cpp')
-rw-r--r--Kernel/VGA.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/VGA.cpp b/Kernel/VGA.cpp
index 458a3c967c..59e3c73267 100644
--- a/Kernel/VGA.cpp
+++ b/Kernel/VGA.cpp
@@ -10,6 +10,7 @@ PRIVATE BYTE current_attr = 0x07;
void vga_scroll_up()
{
+ InterruptDisabler disabler;
memcpy(vga_mem, vga_mem + 160, 160 * 24);
memset(vga_mem + (160 * 24), 0, 160);
}