Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include For 64b clean 32b compilation, do not ...



details:   https://anonhg.NetBSD.org/src/rev/4be1a711d5fc
branches:  trunk
changeset: 494690:4be1a711d5fc
user:      jeffs <jeffs%NetBSD.org@localhost>
date:      Tue Jul 11 06:26:08 2000 +0000

description:
For 64b clean 32b compilation, do not bother setting SX And KX.
The current code does not maintain these in SR, and they are not
needed by 32b kernel code for mips3/4 instructions.

diffstat:

 sys/arch/mips/include/psl.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 847355b44ddc -r 4be1a711d5fc sys/arch/mips/include/psl.h
--- a/sys/arch/mips/include/psl.h       Tue Jul 11 06:23:38 2000 +0000
+++ b/sys/arch/mips/include/psl.h       Tue Jul 11 06:26:08 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.13 2000/05/15 08:36:32 nisimura Exp $        */
+/*     $NetBSD: psl.h,v 1.14 2000/07/11 06:26:08 jeffs Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -52,8 +52,7 @@
 #define        MIPS3_PSL_LOWIPL        (MIPS3_INT_MASK | MIPS_SR_INT_IE)
 
 #if defined(_MIPS_BSD_API) && _MIPS_BSD_API != _MIPS_BSD_API_LP32
-#define MIPS3_PSL_XFLAGS       \
-               (MIPS3_SR_XX | MIPS3_SR_KX | MIPS3_SR_UX | MIPS3_SR_SX)
+#define MIPS3_PSL_XFLAGS       (MIPS3_SR_XX | MIPS3_SR_UX)
 #else
 #define MIPS3_PSL_XFLAGS       (0)
 #endif



Home | Main Index | Thread Index | Old Index