Lines Matching refs:r21

204 	mtspr   SPRG1,r21;              /* save r21                   */ \
206 ld r21,PACAEXCSP(r20); /* get exception stack ptr */ \
207 addi r21,r21,EXC_FRAME_SIZE; /* make exception frame */ \
208 std r22,EX_R22(r21); /* Save r22 in exc. frame */ \
210 stw r22,EX_TRAP(r21); /* */ \
211 std r23,EX_R23(r21); /* Save r23 in exc. frame */ \
213 std r22,EX_SRR0(r21); /* Save SRR0 in exc. frame */ \
215 std r23,EX_SRR1(r21); /* Save SRR1 in exc. frame */ \
234 mtspr SPRG1,r21; /* save r21 */ \
236 ld r21,PACAEXCSP(r20); /* get exception stack ptr */ \
237 addi r21,r21,EXC_FRAME_SIZE; /* make exception frame */ \
238 std r22,EX_R22(r21); /* save r22 on exception frame */ \
240 stw r22,EX_TRAP(r21); /* */ \
241 std r23,EX_R23(r21); /* Save r23 in exc. frame */ \
243 std r22,EX_SRR0(r21); /* save SRR0 in exc. frame */ \
245 std r23,EX_SRR1(r21); /* save SRR1 in exc. frame */ \
259 std r22,EX_R20(r21); \
261 std r22,EX_R21(r21); \
263 std r22,EX_DAR(r21); \
264 std r21,PACAEXCSP(r20); /* update exception stack ptr */ \
267 stw r22,EX_DSISR(r21); \
268 ld r22,EX_SRR1(r21); /* Get SRR1 from exc. frame */ \
277 ld r22,EX_R20(r21); /* move r20 to stackframe */ \
279 ld r23,EX_R21(r21); /* move r21 to stackframe */ \
281 ld r22,EX_R22(r21); /* move r22 to stackframe */ \
283 ld r23,EX_R23(r21); /* move r23 to stackframe */ \
291 ld r23,EX_DAR(r21); /* move DAR to stackframe */ \
293 lwz r22,EX_DSISR(r21); /* move DSISR to stackframe */ \
297 ld r22,EX_SRR0(r21); /* get SRR0 from exc. frame */ \
298 ld r23,EX_SRR1(r21); /* get SRR1 from exc. frame */ \
299 addi r21,r21,-EXC_FRAME_SIZE;/* pop off exception frame */ \
300 std r21,PACAEXCSP(r20); \
340 std r24,48(r21); \
341 std r25,56(r21); \
345 ld r24,48(r21); \
346 ld r25,56(r21); \
529 ld r22,EX_SRR0(r21)
530 ld r23,EX_SRR1(r21)
533 ld r22,EX_R22(r21)
534 ld r23,EX_R23(r21)
535 mfspr r21,SPRG1
642 li r21, MSR_RI
643 andc r20,r20,r21
778 lbz r21,PACAHRDWINTCOUNT(r20) /* get hardware interrupt cnt */
779 cmpi 0,r21,0 /* */
780 addi r21,r21,1 /* incr hardware interrupt cnt*/
781 stb r21,PACAHRDWINTCOUNT(r20) /* */
789 cmp 0,r22,r21 /* debug test */
791 subi r21,r21,1
792 stb r21,PACAHRDWINTCOUNT(r20) /* */
800 cmp 0,r22,r21 /* debug test */
802 subi r21,r21,1 /* decr hardware interrupt cnt*/
803 stb r21,PACAHRDWINTCOUNT(r20) /* */
1030 mflr r21 /* Save LR in r21 */
1080 mtlr r21 /* restore LR */
1090 stw r23,EX_CCR(r21) /* save CR in exc. frame */
1093 mfspr r21,DAR
1094 rldicl r20,r21,36,32 /* Permits a full 32b of ESID */
1096 rldicl r21,r21,4,60
1097 or r20,r20,r21
1099 li r21,9 /* VSID_RANDOMIZER */
1100 sldi r21,r21,32
1101 oris r21,r21,58231
1102 ori r21,r21,39831
1104 mulld r20,r20,r21
1107 mfsprg r21,3
1108 ld r21,PACASTABVIRT(r21)
1114 or r21,r21,r22 /* r21 = first ste of the group */
1119 ld r23,0(r21) /* Test valid bit of the current ste */
1123 ld r23,8(r21) /* Get the current vsid part of the ste */
1125 std r23,8(r21) /* Put new entry back into the stab */
1127 ld r23,0(r21) /* Get the esid part of the ste */
1132 std r23,0(r21) /* Put new entry back into the stab */
1137 addi r21,r21,16
1151 subi r21,r21,128
1152 or r21,r21,r22 /* r21 is the entry to invalidate */
1155 ld r23,0(r21)
1158 std r23,0(r21)
1161 ld r23,8(r21)
1163 std r23,8(r21)
1166 ld r23,0(r21) /* Get the esid part of the ste */
1172 std r23,0(r21) /* Put new entry back into the stab */
1182 ld r21,PACAEXCSP(r20) /* Get the exception frame pointer */
1183 addi r21,r21,EXC_FRAME_SIZE
1184 lwz r23,EX_CCR(r21) /* get saved CR */
1193 ld r22,EX_SRR0(r21) /* Get SRR0 from exc. frame */
1194 ld r23,EX_SRR1(r21) /* Get SRR1 from exc. frame */
1197 ld r22,EX_R22(r21) /* restore r22 and r23 */
1198 ld r23,EX_R23(r21)
1200 mfspr r21,SPRG1
1211 stw r23,EX_CCR(r21) /* save CR in exc. frame */
1214 mfspr r21,DAR
1215 rldicl r20,r21,36,32 /* Permits a full 32b of ESID */
1217 rldicl r21,r21,4,60
1218 or r20,r20,r21
1220 li r21,9 /* VSID_RANDOMIZER */
1221 sldi r21,r21,32
1222 oris r21,r21,58231
1223 ori r21,r21,39831
1225 mulld r20,r20,r21
1243 2: mfspr r21,SPRG3
1244 ld r22,PACASTABRR(r21)
1249 3: std r23,PACASTABRR(r21)
1268 srdi r21,r1,28
1269 cmpd r21,r23
1274 li r21,0
1275 rldimi r21,r20,12,0
1276 ori r20,r21,1024
1282 slbmfee r21,r22
1285 and r21,r21,r23
1286 slbie r21
1289 mfspr r21,DAR /* Get the new esid */
1290 rldicl r21,r21,36,28 /* Permits a full 36b of ESID */
1292 rldimi r23,r21,28,0 /* Insert esid */
1293 oris r21,r23,2048 /* valid bit */
1294 rldimi r21,r22,0,52 /* Insert entry */
1297 slbmte r20,r21
1302 ld r21,PACAEXCSP(r20) /* Get the exception frame pointer */
1303 addi r21,r21,EXC_FRAME_SIZE
1304 lwz r23,EX_CCR(r21) /* get saved CR */
1313 ld r22,EX_SRR0(r21) /* Get SRR0 from exc. frame */
1314 ld r23,EX_SRR1(r21) /* Get SRR1 from exc. frame */
1317 ld r22,EX_R22(r21) /* restore r22 and r23 */
1318 ld r23,EX_R23(r21)
1320 mfspr r21,SPRG1
1325 mflr r21 /* Save LR in r21 */
1337 mtlr r21 /* restore LR */
1404 ld r22,8(r21) /* Get SRR1 */
1407 ld r22,0(r21) /* Get SRR0 */