diff --git a/src/kernel/main.c b/src/kernel/main.c index 538ad99..05d21ee 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -49,7 +49,7 @@ while (1) { Syscall *call = listPopFirst(&callsToProcess); if (!call) { - asm("sti;hlt"); + asm("sti;hlt;cli"); continue; } processSyscall(call);