add instruction to trampoline code
[unix-history] / usr / src / sys / vax / include / trap.h
CommitLineData
b11be056 1/* trap.h 6.1 83/07/29 */
4d549c62
BJ
2
3/*
4 * Trap type values
4d549c62
BJ
5 */
6
5158fdc3 7/* The first three constant values are known to the real world <signal.h> */
b67d2217
BJ
8#define T_RESADFLT 0 /* reserved addressing fault */
9#define T_PRIVINFLT 1 /* privileged instruction fault */
10#define T_RESOPFLT 2 /* reserved operand fault */
5158fdc3 11/* End of known constants */
b67d2217
BJ
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 */