Lines Matching refs:level
101 #define BAD_TRAP_P(level) \ argument
102 ((level > SP_TRAP_WDOG && level < SP_TRAP_IRQ1) || \
103 (level > SP_TRAP_IACC && level < SP_TRAP_CPDIS) || \
104 (level > SP_TRAP_BADFL && level < SP_TRAP_CPEXP) || \
105 (level > SP_TRAP_DMM && level < SP_TRAP_IMM) || \
106 (level > SP_TRAP_IMM && level < SP_TRAP_SUNOS) || \
107 (level > SP_TRAP_LINUX && level < SP_TRAP_KBPT1))
110 #define HW_TRAP_P(level) ((level > 0) && (level < SP_TRAP_SUNOS)) argument
113 #define SW_TRAP_P(level) ((level >= SP_TRAP_SUNOS) && (level <= SP_TRAP_KBPT2)) argument
116 #define SCALL_TRAP_P(level) ((level == SP_TRAP_SUNOS) || \ argument
117 (level == SP_TRAP_SOLARIS) || \
118 (level == SP_TRAP_NETBSD) || \
119 (level == SP_TRAP_LINUX))