xref: /csrg-svn/sys/tahoe/include/trap.h (revision 25684)
1*25684Ssam /*	trap.h	1.1	86/01/05	*/
2*25684Ssam 
3*25684Ssam /*	first 3 constants known in system C files - don't change */
4*25684Ssam #define	T_RESADFLT	0	/* reserved addressing */
5*25684Ssam #define	T_PRIVINFLT	1	/* privileged instruction */
6*25684Ssam #define	T_RESOPFLT	2	/* reserved operand */
7*25684Ssam /*	those constants shouldn't change 	*/
8*25684Ssam #define	T_BPTFLT	3	/* breakpoint instruction */
9*25684Ssam #define	T_SYSCALL	5	/* system call (kcall) */
10*25684Ssam #define	T_ARITHTRAP	6	/* arithmetic trap */
11*25684Ssam #define	T_ASTFLT	7	/* system forced exception */
12*25684Ssam #define	T_SEGFLT	8	/* segmentation (limit) fault */
13*25684Ssam #define	T_PROTFLT	9	/* protection fault */
14*25684Ssam #define	T_TRCTRAP	10	/* trace trap */
15*25684Ssam #define	T_PAGEFLT	12	/* page fault */
16*25684Ssam #define	T_TABLEFLT	13	/* page table fault */
17*25684Ssam #define	T_ALIGNFLT	14	/* alignment fault */
18*25684Ssam #define	T_KSPNOTVAL	15	/* kernel stack pointer not valid */
19*25684Ssam #define	T_BUSERR	16	/* bus error */
20