Kernel panic now halts the system
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Kernel
|
|||||||
kprint("Kernel panic: ");
|
kprint("Kernel panic: ");
|
||||||
kprint(message, args...);
|
kprint(message, args...);
|
||||||
kprint("\n");
|
kprint("\n");
|
||||||
asm volatile("hlt");
|
asm volatile("cli; hlt");
|
||||||
__builtin_unreachable();
|
__builtin_unreachable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user