Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 08/24/2007 23:52:11
Module Name:	src
Committed By:	ad
Date:		Fri Aug 24 23:52:11 UTC 2007

Modified Files:
	src/sys/arch/mips/mips: genassym.cf mipsX_subr.S
	src/sys/contrib/dev/ath/netbsd: ah_osdep.c

Log Message:
The Atheros HAL on MIPS uses %s7 as a general purpose register, but the
rest of the kernel uses it to store the value of curlwp. Sam won't
recompile the HAL for us (fair enough), and we can't modify the HAL
to use another register because doing so could put us in breach of
the license (v. crappy). So, do a save/set/restore on %s7 in KernIntr()
and in the stubs that the HAL uses to call back into the kernel.


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 src/sys/arch/mips/mips/genassym.cf
cvs rdiff -r1.24 -r1.25 src/sys/arch/mips/mips/mipsX_subr.S
cvs rdiff -r1.10 -r1.11 src/sys/contrib/dev/ath/netbsd/ah_osdep.c

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