CPU: Change debug messages to fit the latest changes

This commit is contained in:
Liav A 2020-03-02 00:06:48 +02:00 committed by Andreas Kling
parent f0ca29eb4b
commit 251b7f3776
Notes: sideshowbarker 2024-07-19 08:55:37 +09:00

View file

@ -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()) {