Kernel panic now halts the system

This commit is contained in:
Bananymous 2022-12-03 18:19:07 +02:00
parent c17f61611e
commit 343dda629c
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ namespace Kernel
kprint("Kernel panic: ");
kprint(message, args...);
kprint("\n");
asm volatile("hlt");
asm volatile("cli; hlt");
__builtin_unreachable();
}