xref: /csrg-svn/sys/tahoe/include/trap.h (revision 30176)
1*30176Ssam /*	trap.h	1.2	86/11/25	*/
225684Ssam 
325684Ssam /*	first 3 constants known in system C files - don't change */
425684Ssam #define	T_RESADFLT	0	/* reserved addressing */
525684Ssam #define	T_PRIVINFLT	1	/* privileged instruction */
625684Ssam #define	T_RESOPFLT	2	/* reserved operand */
725684Ssam /*	those constants shouldn't change 	*/
825684Ssam #define	T_BPTFLT	3	/* breakpoint instruction */
925684Ssam #define	T_SYSCALL	5	/* system call (kcall) */
1025684Ssam #define	T_ARITHTRAP	6	/* arithmetic trap */
1125684Ssam #define	T_ASTFLT	7	/* system forced exception */
1225684Ssam #define	T_SEGFLT	8	/* segmentation (limit) fault */
1325684Ssam #define	T_PROTFLT	9	/* protection fault */
1425684Ssam #define	T_TRCTRAP	10	/* trace trap */
1525684Ssam #define	T_PAGEFLT	12	/* page fault */
1625684Ssam #define	T_TABLEFLT	13	/* page table fault */
1725684Ssam #define	T_ALIGNFLT	14	/* alignment fault */
1825684Ssam #define	T_KSPNOTVAL	15	/* kernel stack pointer not valid */
1925684Ssam #define	T_BUSERR	16	/* bus error */
20*30176Ssam #define	T_KDBTRAP	17	/* kernel debugger trap */
21