123277Smckusick /* 229199Smckusick * Copyright (c) 1982, 1986 Regents of the University of California. 323277Smckusick * All rights reserved. The Berkeley software License Agreement 423277Smckusick * specifies the terms and conditions for redistribution. 523277Smckusick * 6*30543Skarels * @(#)trap.h 7.2 (Berkeley) 02/21/87 723277Smckusick */ 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*30543Skarels #define T_KDBTRAP 14 /* kernel debugger trap */ 30