Kernel: Panic now halts machine even if we get spurious irqs
This commit is contained in:
parent
54043288cb
commit
b50bb03ed4
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue