Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include Add processor implementation codes, ...



details:   https://anonhg.NetBSD.org/src/rev/203332666c30
branches:  trunk
changeset: 750829:203332666c30
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Fri Jan 15 23:55:55 2010 +0000

description:
Add processor implementation codes, from OpenBSD.

diffstat:

 sys/arch/sparc64/include/psl.h |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 2ebe540a7425 -r 203332666c30 sys/arch/sparc64/include/psl.h
--- a/sys/arch/sparc64/include/psl.h    Fri Jan 15 23:49:22 2010 +0000
+++ b/sys/arch/sparc64/include/psl.h    Fri Jan 15 23:55:55 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.44 2010/01/15 15:05:02 nakayama Exp $ */
+/*     $NetBSD: psl.h,v 1.45 2010/01/15 23:55:55 nakayama Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -224,6 +224,17 @@
 #define VER_MAXTL_SHIFT        8
 #define VER_MAXWIN     0x000000000000001fLL
 
+#define IMPL_SPITFIRE          0x10 /* UltraSPARC-I */
+#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:
  */



Home | Main Index | Thread Index | Old Index