Subject: CVS commit: src/sys/arch/powerpc
To: None <source-changes@NetBSD.org>
From: Klaus Klein <kleink@netbsd.org>
List: source-changes
Date: 06/09/2004 23:24:51
Module Name:	src
Committed By:	kleink
Date:		Wed Jun  9 23:24:51 UTC 2004

Modified Files:
	src/sys/arch/powerpc/oea: oea_machdep.c
	src/sys/arch/powerpc/powerpc: trap_subr.S

Log Message:
Get rid of the silly CPU601 hooks and move BAT register restoration and
obliteration to RESTORE_{KERN,USER}_SRS, respectively; have oea_init()
patch these sequences to be skipped on non-MPC601s.  The code sequence
matching heuristic isn't as pretty as the one for VRSAVE and MQ but works
well enough with the current structure of the trap code, and can be easily
updated when necessary.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/powerpc/oea/oea_machdep.c
cvs rdiff -r1.55 -r1.56 src/sys/arch/powerpc/powerpc/trap_subr.S

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