Lines Matching refs:trap
46 unsigned long trap;
237 * The 4 low bits (0xf) are available as flags to overload the trap word,
246 * On 4xx we use bit 1 in the trap word to indicate whether the exception
250 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0)
251 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0)
252 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0)
254 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK)
258 regs->trap = (regs->trap & TRAP_FLAGS_MASK) | (val & ~TRAP_FLAGS_MASK);
278 return regs->trap & 0x1;
283 regs->trap |= 0x1;