1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:47:36 +00:00

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

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