xref: /csrg-svn/sys/vax/include/trap.h (revision 8981)
1*8981Sroot /*	trap.h	4.7	82/10/31	*/
275Sbill 
375Sbill /*
475Sbill  * Trap type values
575Sbill  */
675Sbill 
72896Swnj /* The first three constant values are known to the real world <signal.h> */
8*8981Sroot #define	T_RESADFLT	0		/* reserved addressing fault */
9*8981Sroot #define	T_PRIVINFLT	1		/* privileged instruction fault */
10*8981Sroot #define	T_RESOPFLT	2		/* reserved operand fault */
112896Swnj /* End of known constants */
12*8981Sroot #define	T_BPTFLT	3		/* bpt instruction fault */
13*8981Sroot #define	T_XFCFLT	4		/* xfc instruction fault */
14*8981Sroot #define	T_SYSCALL	5		/* chmk instruction (syscall trap) */
15*8981Sroot #define	T_ARITHTRAP	6		/* arithmetic trap */
16*8981Sroot #define	T_ASTFLT	7		/* software level 2 trap (ast deliv) */
17*8981Sroot #define	T_SEGFLT	8		/* segmentation fault */
18*8981Sroot #define	T_PROTFLT	9		/* protection fault */
19*8981Sroot #define	T_TRCTRAP	10		/* trace trap */
20*8981Sroot #define	T_COMPATFLT	11		/* compatibility mode fault */
21*8981Sroot #define	T_PAGEFLT	12		/* page fault */
22*8981Sroot #define	T_TABLEFLT	13		/* page table fault */
23