Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/ibm4xx Set cpu_psluserset, cpu_pslusermod, ...



details:   https://anonhg.NetBSD.org/src/rev/d136fcf852d8
branches:  trunk
changeset: 1011692:d136fcf852d8
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Jul 06 13:10:19 2020 +0000

description:
Set cpu_psluserset, cpu_pslusermod, cpu_pslusermask for MODULAR.

diffstat:

 sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 3daec1f5967a -r d136fcf852d8 sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c
--- a/sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c  Mon Jul 06 11:24:57 2020 +0000
+++ b/sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c  Mon Jul 06 13:10:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibm4xx_machdep.c,v 1.31 2020/07/06 10:34:23 rin Exp $  */
+/*     $NetBSD: ibm4xx_machdep.c,v 1.32 2020/07/06 13:10:19 rin Exp $  */
 /*     Original: ibm40x_machdep.c,v 1.3 2005/01/17 17:19:36 shige Exp $ */
 
 /*
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibm4xx_machdep.c,v 1.31 2020/07/06 10:34:23 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibm4xx_machdep.c,v 1.32 2020/07/06 13:10:19 rin Exp $");
 
 #include "ksyms.h"
 
@@ -115,6 +115,12 @@
 void *startsym, *endsym;
 #endif
 
+#ifdef MODULAR
+register_t cpu_psluserset = PSL_USERSET;
+register_t cpu_pslusermod = PSL_USERMOD;
+register_t cpu_pslusermask = PSL_USERMASK;
+#endif
+
 /*
  * Trap vectors
  */



Home | Main Index | Thread Index | Old Index