summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-12-14 15:10:33 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-12-14 15:10:33 +0000
commit721e2e6e9c80b1dd2e9bedc2b2f8eb273ccfb684 (patch)
tree716113291beff5f0bc130e79d4b564db3059ad0d /sys/arch
parent34012bb911e7f2da22971932eb993e5dcd603a19 (diff)
Add defines for several SPARC-V9 implementations.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/include/psl.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/psl.h b/sys/arch/sparc64/include/psl.h
index 51dc930645d..a8dcf4d57a0 100644
--- a/sys/arch/sparc64/include/psl.h
+++ b/sys/arch/sparc64/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.21 2006/05/20 14:18:35 miod Exp $ */
+/* $OpenBSD: psl.h,v 1.22 2006/12/14 15:10:32 kettenis Exp $ */
/* $NetBSD: psl.h,v 1.20 2001/04/13 23:30:05 thorpej Exp $ */
/*
@@ -189,6 +189,20 @@
#define VER_MAXTL_SHIFT 8
#define VER_MAXWIN 0x000000000000001fULL
+#define IMPL_SPARC64 0x01 /* SPARC64 */
+#define IMPL_SPARC64_II 0x02 /* SPARC64-II */
+#define IMPL_SPARC64_III 0x03 /* SPARC64-III */
+#define IMPL_SPITFIRE 0x10 /* UltraSPARC */
+#define IMPL_BLACKBIRD 0x11 /* UltraSPARC-II */
+#define IMPL_SABRE 0x12 /* UltraSPARC-IIi */
+#define IMPL_HUMMINGBIRD 0x13 /* UltraSPARC-IIe */
+#define IMPL_CHEETAH 0x14 /* UltraSPARC-III */
+#define IMPL_CHEETAH_PLUS 0x15 /* UltraSPARC-III+ */
+#define IMPL_JALAPENO 0x16 /* UltraSPARC-IIIi */
+#define IMPL_JAGUAR 0x18 /* UltraSPARC-IV */
+#define IMPL_PANTHER 0x19 /* UltraSPARC-IV+ */
+#define IMPL_SERRANO 0x22 /* UltraSPARC-IIIi+ */
+
/*
* Here are a few things to help us transition between user and kernel mode:
*/