mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Kernel: Halt all processors on assertion failure
This commit is contained in:
parent
3ffdaabe10
commit
328e481ee9
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue