Lines Matching refs:scr2
119 #define TRACE_NEXT(ptr, scr1, scr2) \ argument
120 CPU_INDEX(scr2); \
121 sll scr2, TRAPTR_SIZE_SHIFT, scr2; \
123 add scr2, scr1, scr1; \
125 ld [scr1 + TRAPTR_LIMIT], scr2; \
126 cmp ptr, scr2; \
130 set panicstr, scr2; \
131 ld [scr2], scr2; \
132 tst scr2; \
143 #define TRACE_RESTORE_PSR(old, scr1, scr2) \ argument
147 and old, PSR_PIL, scr2; \
148 subcc scr1, scr2, scr1; \
163 #define TRACE_UNFL(code, addr, scr1, scr2, scr3) \ argument
164 TRACE_PTR(scr1, scr2); \
165 set code, scr2; \
166 st scr2, [scr1 + TRAP_ENT_TBR]; \
167 mov %psr, scr2; \
168 st scr2, [scr1 + TRAP_ENT_PSR]; \
172 TRACE_NEXT(scr1, scr2, scr3)
176 #define TRACE_UNFL(code, addr, scr1, scr2, scr3)