mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -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);
|
MM.enter_process_paging_scope(*process);
|
||||||
|
|
||||||
Kernel::dump_backtrace();
|
Kernel::dump_backtrace();
|
||||||
asm volatile("hlt");
|
Processor::halt();
|
||||||
for (;;)
|
|
||||||
;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue