sys_yield tests worked on qemu.
This commit is contained in:
parent
3f3e6b2b99
commit
adbe671fe1
10 changed files with 134 additions and 53 deletions
|
@ -32,7 +32,7 @@ pub fn trap_handler(cx: &mut TrapContext) -> &mut TrapContext {
|
|||
}
|
||||
Trap::Exception(Exception::StoreFault) |
|
||||
Trap::Exception(Exception::StorePageFault) => {
|
||||
println!("[kernel] PageFault in application, core dumped.");
|
||||
println!("[kernel] PageFault in application, bad addr = {:#x}, bad instruction = {:#x}, core dumped.", stval, cx.sepc);
|
||||
panic!("[kernel] Cannot continue!");
|
||||
//run_next_app();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue