Kernel: Panic now halts machine even if we get spurious irqs
This commit is contained in:
@@ -24,7 +24,9 @@ namespace Kernel
|
||||
kprint(message, args...);
|
||||
kprint("\e[m\n");
|
||||
}
|
||||
asm volatile("cli; hlt");
|
||||
asm volatile("cli");
|
||||
for (;;)
|
||||
asm volatile("hlt");
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user