mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
kernel: irq: prefix pagefault message with KERNEL(pid)
This unifies this message with other kernel messages. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
04a3493550
commit
cb2d810b38
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ pub extern "C" fn trap_handler(
|
||||||
// it with one if necessary.
|
// it with one if necessary.
|
||||||
match ex {
|
match ex {
|
||||||
RiscvException::StorePageFault(pc, addr) | RiscvException::LoadPageFault(pc, addr) => {
|
RiscvException::StorePageFault(pc, addr) | RiscvException::LoadPageFault(pc, addr) => {
|
||||||
println!("Fault {} @ {:08x}, addr {:08x}", ex, pc, addr);
|
println!("KERNEL({}): RISC-V fault: {} @ {:08x}, addr {:08x}", pid, ex, pc, addr);
|
||||||
let entry = crate::arch::mem::pagetable_entry(addr).unwrap_or_else(|x| {
|
let entry = crate::arch::mem::pagetable_entry(addr).unwrap_or_else(|x| {
|
||||||
// MemoryManagerHandle::get().print_ownership();
|
// MemoryManagerHandle::get().print_ownership();
|
||||||
MemoryMapping::current().print_map();
|
MemoryMapping::current().print_map();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue