mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
kernel: riscv: print "SYSTEM HALT" when halting system
This minor patch helps me remember that these errors are fatal. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
0be1b8b94c
commit
fb69426f28
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ pub extern "C" fn trap_handler(
|
|||
}
|
||||
_ => (),
|
||||
}
|
||||
println!("CPU Exception on PID {}: {}", pid, ex);
|
||||
println!("SYSTEM HALT: CPU Exception on PID {}: {}", pid, ex);
|
||||
loop {}
|
||||
} else {
|
||||
let irqs_pending = sip::read();
|
||||
|
|
|
|||
Loading…
Reference in a new issue