Kernel: Halt all processors on assertion failure

This commit is contained in:
Tom 2020-10-25 22:27:27 -06:00 committed by Andreas Kling
parent 3ffdaabe10
commit 328e481ee9
Notes: sideshowbarker 2024-07-19 01:43:12 +09:00

View file

@ -2019,9 +2019,7 @@ void __assertion_failed(const char* msg, const char* file, unsigned line, const
MM.enter_process_paging_scope(*process);
Kernel::dump_backtrace();
asm volatile("hlt");
for (;;)
;
Processor::halt();
}
#endif