Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 03/18/2001 04:53:10
Module Name:	syssrc
Committed By:	chs
Date:		Sun Mar 18 02:53:10 UTC 2001

Modified Files:
	syssrc/sys/arch/i386/i386: locore.s trap.c

Log Message:
in trap(), when invoking the pcb_onfault mechanism, pass the return value
of uvm_fault() to the onfault routine via %eax.  users of pcb_onfault now
return this value to their callers rather than always returning EFAULT.
this allows i/o errors in VOP_GETPAGES() to be returned back to read(), etc.


To generate a diff of this commit:
cvs rdiff -r1.233 -r1.234 syssrc/sys/arch/i386/i386/locore.s
cvs rdiff -r1.155 -r1.156 syssrc/sys/arch/i386/i386/trap.c

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