mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:57:34 +00: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
Add a link
Reference in a new issue