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

Modified Files:
	syssrc/sys/arch/powerpc/mpc6xx: pmap.c

Log Message:
Set SR_PRKEY for user pmaps.  For the kernel SR(s) set SR_SUKEY|SR_PRKEY.
Note that we never use a PTE PP of 0 or 1 (supervisor protection) so the
"key" is basically unused.  However, use SR_PRKEY for user space is
conceptionally the right thing to do.  Currently the kernel_pmap SR(s) are
ignored but that is going to be fixed shortly.


To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 syssrc/sys/arch/powerpc/mpc6xx/pmap.c

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