Don't panic so easily on unexpected pagefault.
This commit is contained in:
parent
91a83fe265
commit
03bb1e5750
@ -74,7 +74,7 @@ PRIVATE void pagefault( struct proc *pr,
|
|||||||
pagefaultcr2, frame->errcode, is_nested);
|
pagefaultcr2, frame->errcode, is_nested);
|
||||||
proc_stacktrace(pr);
|
proc_stacktrace(pr);
|
||||||
printf("pc of pagefault: 0x%lx\n", frame->eip);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user