Subject: CVS commit: src/sys/arch/sparc/sparc
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 02/03/2005 16:15:07
Module Name:	src
Committed By:	chs
Date:		Thu Feb  3 16:15:07 UTC 2005

Modified Files:
	src/sys/arch/sparc/sparc: trap.c

Log Message:
sun4c hardware reports faults by the atomic load/store instructions as
read faults even if the problem was that the memory was read-only.
detect this case and relabel the fault as both read and write.
part of PR 25633, PR 25896.


To generate a diff of this commit:
cvs rdiff -r1.155 -r1.156 src/sys/arch/sparc/sparc/trap.c

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