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