forked from Bananymous/banan-os
Kernel panic now halts the system
This commit is contained in:
parent
c17f61611e
commit
343dda629c
|
@ -12,7 +12,7 @@ namespace Kernel
|
|||
kprint("Kernel panic: ");
|
||||
kprint(message, args...);
|
||||
kprint("\n");
|
||||
asm volatile("hlt");
|
||||
asm volatile("cli; hlt");
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue