tired of those old printfs
[unix-history] / usr / src / sys / vax / include / trap.h
CommitLineData
5158fdc3 1/* trap.h 4.6 81/03/03 */
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> */
4d549c62
BJ
8#define RESADFLT 0 /* reserved addressing fault */
9#define PRIVINFLT 1 /* privileged instruction fault */
996263e8 10#define RESOPFLT 2 /* reserved operand fault */
5158fdc3 11/* End of known constants */
996263e8
BJ
12#define BPTFLT 3 /* bpt instruction fault */
13#define XFCFLT 4 /* xfc instruction fault */
4d549c62
BJ
14#define SYSCALL 5 /* chmk instruction (syscall trap) */
15#define ARITHTRAP 6 /* arithmetic trap */
546011e3 16#define ASTFLT 7 /* software level 2 trap (ast deliv) */
4d549c62
BJ
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 */