Module Name: src
Committed By: nakayama
Date: Wed May 18 08:16:04 UTC 2016
Modified Files:
src/sys/arch/sparc/include: psl.h
Log Message:
Fix (unused) pstate mask bits in tstate and comment.
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/sparc/include/psl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sparc/include/psl.h
diff -u src/sys/arch/sparc/include/psl.h:1.48 src/sys/arch/sparc/include/psl.h:1.49
--- src/sys/arch/sparc/include/psl.h:1.48 Sun Aug 28 22:30:09 2011
+++ src/sys/arch/sparc/include/psl.h Wed May 18 08:16:04 2016
@@ -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