aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/system.c
diff options
context:
space:
mode:
authorMarvin Borner2019-11-30 21:07:22 +0100
committerMarvin Borner2019-11-30 21:07:22 +0100
commit50f949d994c33ab23d63bdb9e8a438560ab0b4c4 (patch)
tree35089087979bd8cee4693c71264b1c537336e4dd /src/kernel/system.c
parentac947d45c288f62e927895afe7cd6a722ffdd8f8 (diff)
Working userspace!
Diffstat (limited to 'src/kernel/system.c')
-rw-r--r--src/kernel/system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/system.c b/src/kernel/system.c
index c5cf4ce..7d57f66 100644
--- a/src/kernel/system.c
+++ b/src/kernel/system.c
@@ -106,6 +106,7 @@ void assert(int x)
void halt_loop()
{
serial_write("\n!!! HALT !!!\n");
+ asm ("cli");
loop:
asm ("hlt");
goto loop;