mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
CPU: Change debug messages to fit the latest changes
This commit is contained in:
parent
f0ca29eb4b
commit
251b7f3776
Notes:
sideshowbarker
2024-07-19 08:55:37 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/251b7f3776d Pull-request: https://github.com/SerenityOS/serenity/pull/1322
@ -177,7 +177,7 @@ void handle_crash(RegisterState& regs, const char* description, int signal)
|
||||
// make sure we switch back to the right page tables.
|
||||
MM.enter_process_paging_scope(*Process::current);
|
||||
|
||||
klog() << "CRASH: " << description << ". " << (Process::current->is_ring0() ? "Kernel" : "Process") << ": " << Process::current->name().characters() << "(" << Process::current->pid() << ")";
|
||||
klog() << "CRASH: " << description << ". Ring " << (Process::current->is_ring0() ? 0 : 3) << ".";
|
||||
dump(regs);
|
||||
|
||||
if (Process::current->is_ring0()) {
|
||||
|
Loading…
Reference in New Issue
Block a user