Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Fix (unused) pstate mask bits in tstate and comment.
details: https://anonhg.NetBSD.org/src/rev/fe586e532f05
branches: trunk
changeset: 345309:fe586e532f05
user: nakayama <nakayama%NetBSD.org@localhost>
date: Wed May 18 07:59:30 2016 +0000
description:
Fix (unused) pstate mask bits in tstate and comment.
diffstat:
sys/arch/sparc/include/psl.h | 6 +++---
sys/arch/sparc64/include/psl.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r 592cbea582be -r fe586e532f05 sys/arch/sparc/include/psl.h
--- a/sys/arch/sparc/include/psl.h Wed May 18 07:49:34 2016 +0000
+++ b/sys/arch/sparc/include/psl.h Wed May 18 07:59:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psl.h,v 1.48 2011/08/28 22:30:09 mrg Exp $ */
+/* $NetBSD: psl.h,v 1.49 2016/05/18 08:16:04 nakayama Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -146,14 +146,14 @@
/*
* SPARC V9 TSTATE register
*
- * 39 32 31 24 23 18 17 8 7 5 4 0
+ * 39 32 31 24 23 20 19 8 7 5 4 0
* +-----+-----+-----+--------+---+-----+
* | CCR | ASI | - | PSTATE | - | CWP |
* +-----+-----+-----+--------+---+-----+
*/
#define TSTATE_CWP 0x01f
-#define TSTATE_PSTATE 0x6ff00
+#define TSTATE_PSTATE 0xfff00
#define TSTATE_PSTATE_SHIFT 8
#define TSTATE_ASI 0xff000000LL
#define TSTATE_ASI_SHIFT 24
diff -r 592cbea582be -r fe586e532f05 sys/arch/sparc64/include/psl.h
--- a/sys/arch/sparc64/include/psl.h Wed May 18 07:49:34 2016 +0000
+++ b/sys/arch/sparc64/include/psl.h Wed May 18 07:59:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psl.h,v 1.56 2014/12/25 14:02:03 nakayama Exp $ */
+/* $NetBSD: psl.h,v 1.57 2016/05/18 07:59:30 nakayama Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -165,14 +165,14 @@
/*
* SPARC V9 TSTATE register
*
- * 39 32 31 24 23 18 17 8 7 5 4 0
+ * 39 32 31 24 23 20 19 8 7 5 4 0
* +-----+-----+-----+--------+---+-----+
* | CCR | ASI | - | PSTATE | - | CWP |
* +-----+-----+-----+--------+---+-----+
*/
#define TSTATE_CWP 0x01f
-#define TSTATE_PSTATE 0x6ff00
+#define TSTATE_PSTATE 0xfff00
#define TSTATE_PSTATE_SHIFT 8
#define TSTATE_ASI 0xff000000LL
#define TSTATE_ASI_SHIFT 24
Home |
Main Index |
Thread Index |
Old Index