aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/system.c
diff options
context:
space:
mode:
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;