mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
CPU: Change debug messages to fit the latest changes
This commit is contained in:
parent
f0ca29eb4b
commit
251b7f3776
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ void handle_crash(RegisterState& regs, const char* description, int signal)
|
||||||
// make sure we switch back to the right page tables.
|
// make sure we switch back to the right page tables.
|
||||||
MM.enter_process_paging_scope(*Process::current);
|
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);
|
dump(regs);
|
||||||
|
|
||||||
if (Process::current->is_ring0()) {
|
if (Process::current->is_ring0()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue