cowtest passed
This commit is contained in:
@@ -67,6 +67,8 @@ usertrap(void)
|
||||
syscall();
|
||||
} else if((which_dev = devintr()) != 0){
|
||||
// ok
|
||||
} else if((r_scause() == 15 || r_scause() == 13) && iscowpage(r_stval())){
|
||||
startcowcopy(r_stval());
|
||||
} else {
|
||||
printf("usertrap(): unexpected scause 0x%lx pid=%d\n", r_scause(), p->pid);
|
||||
printf(" sepc=0x%lx stval=0x%lx\n", r_sepc(), r_stval());
|
||||
|
||||
Reference in New Issue
Block a user