Kernel: Panic now halts machine even if we get spurious irqs

This commit is contained in:
Bananymous 2023-01-23 18:25:48 +02:00
parent 54043288cb
commit b50bb03ed4
1 changed files with 3 additions and 1 deletions

View File

@ -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();
}