mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
Kernel: Halt all processors on assertion failure
This commit is contained in:
parent
3ffdaabe10
commit
328e481ee9
Notes:
sideshowbarker
2024-07-19 01:43:12 +09:00
Author: https://github.com/tomuta Commit: https://github.com/SerenityOS/serenity/commit/328e481ee97 Pull-request: https://github.com/SerenityOS/serenity/pull/3856
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