Commit | Line | Data |
---|---|---|
5dc49a50 C |
1 | /* trap.h 4.7 82/10/31 */ |
2 | ||
3 | /* | |
4 | * Trap type values | |
5 | */ | |
6 | ||
7 | /* The first three constant values are known to the real world <signal.h> */ | |
8 | #define T_RESADFLT 0 /* reserved addressing fault */ | |
9 | #define T_PRIVINFLT 1 /* privileged instruction fault */ | |
10 | #define T_RESOPFLT 2 /* reserved operand fault */ | |
11 | /* End of known constants */ | |
12 | #define T_BPTFLT 3 /* bpt instruction fault */ | |
13 | #define T_XFCFLT 4 /* xfc instruction fault */ | |
14 | #define T_SYSCALL 5 /* chmk instruction (syscall trap) */ | |
15 | #define T_ARITHTRAP 6 /* arithmetic trap */ | |
16 | #define T_ASTFLT 7 /* software level 2 trap (ast deliv) */ | |
17 | #define T_SEGFLT 8 /* segmentation fault */ | |
18 | #define T_PROTFLT 9 /* protection fault */ | |
19 | #define T_TRCTRAP 10 /* trace trap */ | |
20 | #define T_COMPATFLT 11 /* compatibility mode fault */ | |
21 | #define T_PAGEFLT 12 /* page fault */ | |
22 | #define T_TABLEFLT 13 /* page table fault */ |