Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 18:15:56 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 93939 for review
Message-ID:  <200603241815.k2OIFuIh006668@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93939

Change 93939 by kmacy@kmacy_storage:sun4vtmp on 2006/03/24 18:15:35

	re-label data identifiers to correspond to trap table entries so %tt
	can be used to recover trap type

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/trap.h#5 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/trap.h#5 (text+ko) ====

@@ -31,7 +31,9 @@
 
 #ifdef _KERNEL
 
+#define T_DATA_MISS                     0x31
 #define T_ALIGNMENT                     0x34
+#define	T_DATA_PROTECTION		0x6c
 
 #define	T_RESERVED			0
 #define	T_INSTRUCTION_EXCEPTION		1
@@ -47,7 +49,7 @@
 #define	T_DIVISION_BY_ZERO		11
 #define	T_DATA_EXCEPTION		12
 #define	T_DATA_ERROR			13
-#define	T_DATA_PROTECTION		14
+
 #define	T_MEM_ADDRESS_NOT_ALIGNED	15
 #define	T_PRIVILEGED_ACTION		16
 #define	T_ASYNC_DATA_ERROR		17
@@ -68,7 +70,7 @@
 #define	T_TRAP_INSTRUCTION_30		32
 #define	T_TRAP_INSTRUCTION_31		33
 #define	T_INSTRUCTION_MISS		34
-#define	T_DATA_MISS			35
+
 
 #define	T_INTERRUPT			36
 #define	T_PA_WATCHPOINT			37
@@ -89,7 +91,7 @@
 
 #define	T_MAX				(T_KSTACK_FAULT + 1)
 
-#define	T_KERNEL			64
+#define	T_KERNEL			0x100
 
 #define	PTL1_BAD_DEBUG		0
 #define	PTL1_BAD_WTRAP		1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603241815.k2OIFuIh006668>