PERFORCE change 93939 for review

Kip Macy kmacy at FreeBSD.org
Fri Mar 24 18:16:01 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=93939

Change 93939 by kmacy at 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


More information about the p4-projects mailing list