xref: /csrg-svn/sys/vax/include/trap.h (revision 2896)
1*2896Swnj /*	trap.h	4.6	81/03/03	*/
275Sbill 
375Sbill /*
475Sbill  * Trap type values
575Sbill  */
675Sbill 
7*2896Swnj /* The first three constant values are known to the real world <signal.h> */
875Sbill #define	RESADFLT	0		/* reserved addressing fault */
975Sbill #define	PRIVINFLT	1		/* privileged instruction fault */
102895Swnj #define	RESOPFLT	2		/* reserved operand fault */
11*2896Swnj /* End of known constants */
122895Swnj #define	BPTFLT		3		/* bpt instruction fault */
132895Swnj #define	XFCFLT		4		/* xfc instruction fault */
1475Sbill #define	SYSCALL		5		/* chmk instruction (syscall trap) */
1575Sbill #define	ARITHTRAP	6		/* arithmetic trap */
162447Swnj #define	ASTFLT		7		/* software level 2 trap (ast deliv) */
1775Sbill #define	SEGFLT		8		/* segmentation fault */
1875Sbill #define	PROTFLT		9		/* protection fault */
1975Sbill #define	TRCTRAP		10		/* trace trap */
2075Sbill #define	COMPATFLT	11		/* compatibility mode fault */
2175Sbill #define	PAGEFLT		12		/* page fault */
2275Sbill #define	TABLEFLT	13		/* page table fault */
23