Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include/mpc6xx Allow USER_SR to be override...



details:   https://anonhg.NetBSD.org/src/rev/ea9a68accb85
branches:  trunk
changeset: 533700:ea9a68accb85
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jul 07 19:29:18 2002 +0000

description:
Allow USER_SR to be overriden on a per-port basis

diffstat:

 sys/arch/powerpc/include/mpc6xx/vmparam.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r 7096bfea973e -r ea9a68accb85 sys/arch/powerpc/include/mpc6xx/vmparam.h
--- a/sys/arch/powerpc/include/mpc6xx/vmparam.h Sun Jul 07 18:35:10 2002 +0000
+++ b/sys/arch/powerpc/include/mpc6xx/vmparam.h Sun Jul 07 19:29:18 2002 +0000
@@ -124,10 +124,14 @@
  * Fixed segments
  */
 #ifdef OLDPMAP
+#ifndef USER_SR
 #define        USER_SR                 13
+#endif
 #define        KERNEL_SR               14
 #else
+#ifndef USER_SR
 #define        USER_SR                 12
+#endif
 #define        KERNEL_SR               13
 #define        KERNEL2_SR              14
 #define        KERNEL2_SEGMENT         VSID_MAKE(KERNEL2_SR, KERNEL_VSIDBITS)



Home | Main Index | Thread Index | Old Index