1*23277Smckusick /* 2*23277Smckusick * Copyright (c) 1982 Regents of the University of California. 3*23277Smckusick * All rights reserved. The Berkeley software License Agreement 4*23277Smckusick * specifies the terms and conditions for redistribution. 5*23277Smckusick * 6*23277Smckusick * @(#)trap.h 6.2 (Berkeley) 06/08/85 7*23277Smckusick */ 875Sbill 975Sbill /* 1075Sbill * Trap type values 1175Sbill */ 1275Sbill 132896Swnj /* The first three constant values are known to the real world <signal.h> */ 148981Sroot #define T_RESADFLT 0 /* reserved addressing fault */ 158981Sroot #define T_PRIVINFLT 1 /* privileged instruction fault */ 168981Sroot #define T_RESOPFLT 2 /* reserved operand fault */ 172896Swnj /* End of known constants */ 188981Sroot #define T_BPTFLT 3 /* bpt instruction fault */ 198981Sroot #define T_XFCFLT 4 /* xfc instruction fault */ 208981Sroot #define T_SYSCALL 5 /* chmk instruction (syscall trap) */ 218981Sroot #define T_ARITHTRAP 6 /* arithmetic trap */ 228981Sroot #define T_ASTFLT 7 /* software level 2 trap (ast deliv) */ 238981Sroot #define T_SEGFLT 8 /* segmentation fault */ 248981Sroot #define T_PROTFLT 9 /* protection fault */ 258981Sroot #define T_TRCTRAP 10 /* trace trap */ 268981Sroot #define T_COMPATFLT 11 /* compatibility mode fault */ 278981Sroot #define T_PAGEFLT 12 /* page fault */ 288981Sroot #define T_TABLEFLT 13 /* page table fault */ 29