kdb additions
[unix-history] / usr / src / sys / tahoe / include / trap.h
CommitLineData
c5747722 1/* trap.h 1.2 86/11/25 */
a256b012
SL
2
3/* first 3 constants known in system C files - don't change */
4#define T_RESADFLT 0 /* reserved addressing */
5#define T_PRIVINFLT 1 /* privileged instruction */
6#define T_RESOPFLT 2 /* reserved operand */
7/* those constants shouldn't change */
8#define T_BPTFLT 3 /* breakpoint instruction */
9#define T_SYSCALL 5 /* system call (kcall) */
10#define T_ARITHTRAP 6 /* arithmetic trap */
11#define T_ASTFLT 7 /* system forced exception */
12#define T_SEGFLT 8 /* segmentation (limit) fault */
13#define T_PROTFLT 9 /* protection fault */
14#define T_TRCTRAP 10 /* trace trap */
15#define T_PAGEFLT 12 /* page fault */
16#define T_TABLEFLT 13 /* page table fault */
17#define T_ALIGNFLT 14 /* alignment fault */
18#define T_KSPNOTVAL 15 /* kernel stack pointer not valid */
19#define T_BUSERR 16 /* bus error */
c5747722 20#define T_KDBTRAP 17 /* kernel debugger trap */