xref: /csrg-svn/sys/vax/include/trap.h (revision 75)
1*75Sbill /*	trap.h	3.1	10/14/12	*/
2*75Sbill 
3*75Sbill /*
4*75Sbill  * Trap type values
5*75Sbill  *
6*75Sbill  * NB: OFFSETS HERE ARE ALSO DEFINED IN trap.m
7*75Sbill  */
8*75Sbill 
9*75Sbill #define	RESADFLT	0		/* reserved addressing fault */
10*75Sbill #define	PRIVINFLT	1		/* privileged instruction fault */
11*75Sbill #define	BPTFLT		2		/* bpt instruction fault */
12*75Sbill #define	XFCFLT		3		/* xfc instruction fault */
13*75Sbill #define	RESOPFLT	4		/* reserved operand fault */
14*75Sbill #define	SYSCALL		5		/* chmk instruction (syscall trap) */
15*75Sbill #define	ARITHTRAP	6		/* arithmetic trap */
16*75Sbill #define	RESCHED		7		/* software level 1 trap
17*75Sbill 					   (reschedule trap) */
18*75Sbill #define	SEGFLT		8		/* segmentation fault */
19*75Sbill #define	PROTFLT		9		/* protection fault */
20*75Sbill #define	TRCTRAP		10		/* trace trap */
21*75Sbill #define	COMPATFLT	11		/* compatibility mode fault */
22*75Sbill #define	PAGEFLT		12		/* page fault */
23*75Sbill #define	TABLEFLT	13		/* page table fault */
24