summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-04-11 15:35:17 +0000
committermarius <marius@FreeBSD.org>2010-04-11 15:35:17 +0000
commit63955b94c288cde6ff80eaba0accf6043c55844a (patch)
tree6e6501142c56686b4aae62263283e51cf3f102b9 /sys/sparc64/include
parent7ce3a4d539d98d0ef49fa9c901a5c22c6bdf0fb3 (diff)
downloadFreeBSD-src-63955b94c288cde6ff80eaba0accf6043c55844a.zip
FreeBSD-src-63955b94c288cde6ff80eaba0accf6043c55844a.tar.gz
Update for UltraSPARC-IV{,+} and SPARC64 V, VI, VII and VIIIfx CPUs.
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r--sys/sparc64/include/lsu.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/sys/sparc64/include/lsu.h b/sys/sparc64/include/lsu.h
index a8787dc..5eeaa55 100644
--- a/sys/sparc64/include/lsu.h
+++ b/sys/sparc64/include/lsu.h
@@ -29,7 +29,7 @@
/*
* Definitions for the Load-Store-Unit Control Register. This is called
- * Data Cache Unit Control Register (DCUCR) for UltraSPARC-III.
+ * Data Cache Unit Control Register (DCUCR) for UltraSPARC-III and greater.
*/
#define LSU_IC (1UL << 0)
#define LSU_DC (1UL << 1)
@@ -41,7 +41,7 @@
#define LSU_FM_BITS 16
#define LSU_FM_MASK (((1UL << LSU_FM_BITS) - 1) << LSU_FM_SHIFT)
-#define LSU_VM_SHIFT 25
+#define LSU_VM_SHIFT 25
#define LSU_VM_BITS 8
#define LSU_VM_MASK (((1UL << LSU_VM_BITS) - 1) << LSU_VM_SHIFT)
@@ -65,4 +65,22 @@
#define LSU_CV (1UL << 48)
#define LSU_CP (1UL << 49)
+/* The following bit is valid for the UltraSPARC-IV only. */
+#define LSU_WIH (1UL << 4)
+
+/* The following bits are valid for the UltraSPARC-IV+ only. */
+#define LSU_PPS_SHIFT 50
+#define LSU_PPS_BITS 2
+#define LSU_PPS_MASK (((1UL << LSU_PPS_BITS) - 1) << LSU_PPS_SHIFT)
+
+#define LSU_IPS_SHIFT 52
+#define LSU_IPS_BITS 2
+#define LSU_IPS_MASK (((1UL << LSU_IPS_BITS) - 1) << LSU_IPS_SHIFT)
+
+#define LSU_PCM (1UL << 54)
+#define LSU_WCE (1UL << 55)
+
+/* The following bit is valid for the SPARC64 V, VI, VII and VIIIfx only. */
+#define LSU_WEAK_SPCA (1UL << 41)
+
#endif /* _MACHINE_LSU_H_ */
OpenPOWER on IntegriCloud