Kernel cannot dump now.

pull/64/head
Yifan Wu 4 years ago
parent ef7139d364
commit e0657a7130

@ -34,11 +34,11 @@ pub fn trap_handler(cx: &mut TrapContext) -> &mut TrapContext {
}
Trap::Exception(Exception::StoreFault) |
Trap::Exception(Exception::StorePageFault) => {
println!("[kernel] PageFault in application, killed by kernel.");
println!("[kernel] PageFault in application, kernel killed it.");
run_next_app();
}
Trap::Exception(Exception::IllegalInstruction) => {
println!("[kernel] IllegalInstruction in application, killed by kernel.");
println!("[kernel] IllegalInstruction in application, kernel killed it.");
run_next_app();
}
_ => {

Loading…
Cancel
Save