xref: /csrg-svn/sys/vax/include/trap.h (revision 2895)
1*2895Swnj /*	trap.h	4.5	81/03/03	*/
275Sbill 
375Sbill /*
475Sbill  * Trap type values
575Sbill  */
675Sbill 
775Sbill #define	RESADFLT	0		/* reserved addressing fault */
875Sbill #define	PRIVINFLT	1		/* privileged instruction fault */
9*2895Swnj #define	RESOPFLT	2		/* reserved operand fault */
10*2895Swnj #define	BPTFLT		3		/* bpt instruction fault */
11*2895Swnj #define	XFCFLT		4		/* xfc instruction fault */
1275Sbill #define	SYSCALL		5		/* chmk instruction (syscall trap) */
1375Sbill #define	ARITHTRAP	6		/* arithmetic trap */
142447Swnj #define	ASTFLT		7		/* software level 2 trap (ast deliv) */
1575Sbill #define	SEGFLT		8		/* segmentation fault */
1675Sbill #define	PROTFLT		9		/* protection fault */
1775Sbill #define	TRCTRAP		10		/* trace trap */
1875Sbill #define	COMPATFLT	11		/* compatibility mode fault */
1975Sbill #define	PAGEFLT		12		/* page fault */
2075Sbill #define	TABLEFLT	13		/* page table fault */
21