Subject: CVS commit: [netbsd-1-6] syssrc/sys/arch/powerpc/powerpc
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 11/01/2002 20:14:09
Module Name:	syssrc
Committed By:	tron
Date:		Fri Nov  1 18:14:08 UTC 2002

Modified Files:
	syssrc/sys/arch/powerpc/powerpc [netbsd-1-6]: trap_subr.S

Log Message:
Pull up revision 1.22 (requested by matt in ticket #373):
Revamp how SR(s) are loaded on the user/kernel boundary.  We now load all
16 SR registers when transitioning between kernel and user.  Also, don't
reload the kernel SR(s) on every trap but only on traps from user space.
Instead of loading magic SRs for the kernel, load the kernel SRs from the
kernel_pmap_.  This makes trap_subr.S completely ignorant of SR uses and
so they can change with having to change trap_subr.S.  Also note that
since the user and kernel get complete SR sets, user VA space can now be
increased to 4GB if desired.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.21.4.1 syssrc/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.