Subject: CVS commit: syssrc/sys/arch/powerpc/powerpc
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 06/26/2002 04:14:46
Module Name:	syssrc
Committed By:	matt
Date:		Wed Jun 26 01:14:46 UTC 2002

Modified Files:
	syssrc/sys/arch/powerpc/powerpc: trap_subr.S

Log Message:
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.22 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.