Don't panic so easily on unexpected pagefault.
This commit is contained in:
parent
91a83fe265
commit
03bb1e5750
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ PRIVATE void pagefault( struct proc *pr,
|
|||
pagefaultcr2, frame->errcode, is_nested);
|
||||
proc_stacktrace(pr);
|
||||
printf("pc of pagefault: 0x%lx\n", frame->eip);
|
||||
panic("page fault in system process: %d", pr->p_endpoint);
|
||||
|
||||
cause_sig(proc_nr(pr), SIGSEGV);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue