Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 11/21/2000 08:30:06
Module Name:	syssrc
Committed By:	chs
Date:		Tue Nov 21 06:30:06 UTC 2000

Modified Files:
	syssrc/sys/arch/arm32/arm32: fault.c

Log Message:
two changes to arm32 fault handling:
 - when pcb_onfault is set, allow UVM to attempt to resolve permission faults
   as well as translation faults (rather than immediately invoking the
   onfault handler for permission faults).  this is needed for UBC since
   it will be normal for uiomove() to fault on read-only mappings which
   will be made writable by the pager.
 - clear pcb_onfault before calling uvm_fault() and restore it afterward.
   if the fault handler generates a pagefault, we'd like to panic rather
   than invoking the onfault handler.


To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 syssrc/sys/arch/arm32/arm32/fault.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.