xref: /csrg-svn/sys/vax/include/trap.h (revision 2447)
1*2447Swnj /*	trap.h	4.2	02/15/81	*/
275Sbill 
375Sbill /*
475Sbill  * Trap type values
575Sbill  *
675Sbill  * NB: OFFSETS HERE ARE ALSO DEFINED IN trap.m
775Sbill  */
875Sbill 
975Sbill #define	RESADFLT	0		/* reserved addressing fault */
1075Sbill #define	PRIVINFLT	1		/* privileged instruction fault */
1175Sbill #define	BPTFLT		2		/* bpt instruction fault */
1275Sbill #define	XFCFLT		3		/* xfc instruction fault */
1375Sbill #define	RESOPFLT	4		/* reserved operand fault */
1475Sbill #define	SYSCALL		5		/* chmk instruction (syscall trap) */
1575Sbill #define	ARITHTRAP	6		/* arithmetic trap */
16*2447Swnj #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