Lines Matching full:level
46 #define SP_TRAP_IRQ1 0x11 /* IRQ level 1 */
47 #define SP_TRAP_IRQ2 0x12 /* IRQ level 2 */
48 #define SP_TRAP_IRQ3 0x13 /* IRQ level 3 */
49 #define SP_TRAP_IRQ4 0x14 /* IRQ level 4 */
50 #define SP_TRAP_IRQ5 0x15 /* IRQ level 5 */
51 #define SP_TRAP_IRQ6 0x16 /* IRQ level 6 */
52 #define SP_TRAP_IRQ7 0x17 /* IRQ level 7 */
53 #define SP_TRAP_IRQ8 0x18 /* IRQ level 8 */
54 #define SP_TRAP_IRQ9 0x19 /* IRQ level 9 */
55 #define SP_TRAP_IRQ10 0x1a /* IRQ level 10 */
56 #define SP_TRAP_IRQ11 0x1b /* IRQ level 11 */
57 #define SP_TRAP_IRQ12 0x1c /* IRQ level 12 */
58 #define SP_TRAP_IRQ13 0x1d /* IRQ level 13 */
59 #define SP_TRAP_IRQ14 0x1e /* IRQ level 14 */
60 #define SP_TRAP_IRQ15 0x1f /* IRQ level 15 Non-maskable */
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))