Commit | Line | Data |
---|---|---|
88a7e859 KM |
1 | /* |
2 | * Copyright (c) 1988 University of Utah. | |
df7778ec KB |
3 | * Copyright (c) 1982, 1986, 1990, 1993 |
4 | * The Regents of the University of California. All rights reserved. | |
88a7e859 KM |
5 | * |
6 | * This code is derived from software contributed to Berkeley by | |
7 | * the Systems Programming Group of the University of Utah Computer | |
8 | * Science Department. | |
9 | * | |
10 | * %sccs.include.redist.c% | |
11 | * | |
9acfa6cd | 12 | * from: Utah $Hdr: trap.h 1.7 91/03/25$ |
88a7e859 | 13 | * |
df7778ec | 14 | * @(#)trap.h 8.1 (Berkeley) %G% |
88a7e859 KM |
15 | */ |
16 | ||
17 | /* | |
93776258 | 18 | * Trap codes |
88a7e859 KM |
19 | */ |
20 | ||
21 | #define T_BUSERR 0 | |
22 | #define T_ADDRERR 1 | |
23 | #define T_ILLINST 2 | |
24 | #define T_ZERODIV 3 | |
25 | #define T_CHKINST 4 | |
26 | #define T_TRAPVINST 5 | |
27 | #define T_PRIVINST 6 | |
28 | #define T_TRACE 7 | |
29 | #define T_MMUFLT 8 | |
30 | #define T_SSIR 9 | |
31 | #define T_FMTERR 10 | |
32 | #define T_FPERR 11 | |
33 | #define T_COPERR 12 | |
c8c12d81 | 34 | #define T_ASTFLT 13 |
88a7e859 | 35 | #define T_TRAP15 15 |
9acfa6cd MH |
36 | #define T_FPEMULI 16 |
37 | #define T_FPEMULD 17 | |
dbd5a16f MK |
38 | |
39 | #define T_USER 0x80 /* user-mode flag or'ed with type */ | |
40 |