1 /* trap.h 4.6 81/03/03 */ 2 3 /* 4 * Trap type values 5 */ 6 7 /* The first three constant values are known to the real world <signal.h> */ 8 #define RESADFLT 0 /* reserved addressing fault */ 9 #define PRIVINFLT 1 /* privileged instruction fault */ 10 #define RESOPFLT 2 /* reserved operand fault */ 11 /* End of known constants */ 12 #define BPTFLT 3 /* bpt instruction fault */ 13 #define XFCFLT 4 /* xfc instruction fault */ 14 #define SYSCALL 5 /* chmk instruction (syscall trap) */ 15 #define ARITHTRAP 6 /* arithmetic trap */ 16 #define ASTFLT 7 /* software level 2 trap (ast deliv) */ 17 #define SEGFLT 8 /* segmentation fault */ 18 #define PROTFLT 9 /* protection fault */ 19 #define TRCTRAP 10 /* trace trap */ 20 #define COMPATFLT 11 /* compatibility mode fault */ 21 #define PAGEFLT 12 /* page fault */ 22 #define TABLEFLT 13 /* page table fault */ 23