Lines Matching full:r1
101 rlwinm r0,r1,0,0,(31 - THREAD_SHIFT)
123 rlwinm r0,r1,0,0,(31 - THREAD_SHIFT)
156 addi r11,r1,STACK_FRAME_OVERHEAD
197 cmplw r1,r9 /* if r1 <= ksp_limit */
227 tophys_novmstack r12, r1
271 * r3 can be different from GPR3(r1) at this point, r9 and r11
278 stwu r1,-32(r1)
279 stw r9,8(r1)
280 stw r11,12(r1)
281 stw r3,16(r1)
282 stw r4,20(r1)
283 stw r5,24(r1)
289 lwz r5,24(r1)
290 lwz r4,20(r1)
291 lwz r3,16(r1)
292 lwz r11,12(r1)
293 lwz r9,8(r1)
294 addi r1,r1,32
309 cmplw r1,r12
310 ble 5b /* r1 <= &_end is OK */
312 addi r3,r1,STACK_FRAME_OVERHEAD
313 lis r1,init_thread_union@ha
314 addi r1,r1,init_thread_union@l
315 addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD
342 REST_GPR(0, r1)
343 REST_4GPRS(3, r1)
344 REST_2GPRS(7, r1)
363 stw r3,ORIG_GPR3(r1)
365 stw r12,RESULT(r1)
395 addi r9,r1,STACK_FRAME_OVERHEAD
402 stw r3,GPR3(r1)
403 addi r3,r1,STACK_FRAME_OVERHEAD
405 lwz r3,GPR3(r1)
418 lwz r11,_CCR(r1) /* Load CR */
421 stw r11,_CCR(r1)
423 lwz r8,_MSR(r1)
430 stw r3,GPR3(r1)
432 lwz r3,GPR3(r1)
452 lwarx r7,0,r1
454 stwcx. r0,0,r1 /* to clear the reservation */
460 lwz r4,_LINK(r1)
461 lwz r5,_CCR(r1)
464 lwz r7,_NIP(r1)
465 lwz r2,GPR2(r1)
466 lwz r1,GPR1(r1)
487 REST_NVGPRS(r1)
494 REST_NVGPRS(r1)
505 SAVE_NVGPRS(r1)
507 stw r0,_TRAP(r1)
508 addi r3,r1,STACK_FRAME_OVERHEAD
516 lwz r3,GPR3(r1)
517 lwz r4,GPR4(r1)
518 lwz r5,GPR5(r1)
519 lwz r6,GPR6(r1)
520 lwz r7,GPR7(r1)
521 lwz r8,GPR8(r1)
522 REST_NVGPRS(r1)
532 REST_NVGPRS(r1)
538 lwz r11,_CCR(r1) /* Load CR */
541 stw r11,_CCR(r1)
543 1: stw r6,RESULT(r1) /* Save result */
544 stw r3,GPR3(r1) /* Update return value */
568 lwz r4,_TRAP(r1)
571 SAVE_NVGPRS(r1)
573 stw r4,_TRAP(r1)
575 addi r3,r1,STACK_FRAME_OVERHEAD
613 SAVE_NVGPRS(r1)
614 lwz r0,_TRAP(r1)
616 stw r0,_TRAP(r1) /* register set saved */
621 SAVE_NVGPRS(r1)
622 lwz r0,_TRAP(r1)
624 stw r0,_TRAP(r1) /* register set saved */
629 SAVE_NVGPRS(r1)
630 lwz r0,_TRAP(r1)
632 stw r0,_TRAP(r1) /* register set saved */
637 SAVE_NVGPRS(r1)
638 lwz r0,_TRAP(r1)
640 stw r0,_TRAP(r1) /* register set saved */
645 SAVE_NVGPRS(r1)
646 lwz r0,_TRAP(r1)
648 stw r0,_TRAP(r1) /* register set saved */
659 addi r3,r1,STACK_FRAME_OVERHEAD
667 SAVE_NVGPRS(r1)
668 lwz r0,_TRAP(r1)
670 stw r0,_TRAP(r1)
672 addi r3,r1,STACK_FRAME_OVERHEAD
673 lwz r4,_DAR(r1)
680 SAVE_NVGPRS(r1)
681 lwz r0,_TRAP(r1)
683 stw r0,_TRAP(r1)
709 stwu r1,-INT_FRAME_SIZE(r1)
711 stw r0,INT_FRAME_SIZE+4(r1)
713 SAVE_NVGPRS(r1)
714 stw r0,_NIP(r1) /* Return to switch caller */
736 1: stw r11,_MSR(r1)
738 stw r10,_CCR(r1)
739 stw r1,KSP(r3) /* Set old stack pointer */
752 lwz r1,KSP(r4) /* Load new stack pointer */
771 lwz r0,_CCR(r1)
774 REST_NVGPRS(r1)
776 lwz r4,_NIP(r1) /* Return to _switch caller in new task */
778 addi r1,r1,INT_FRAME_SIZE
838 addi r3,r1,STACK_FRAME_OVERHEAD
848 REST_NVGPRS(r1)
860 lwz r3,_MSR(r1) /* Returning to user mode? */
892 addi r8,r1,INT_FRAME_SIZE /* Get the kprobed function entry */
894 lwz r3,GPR1(r1)
896 mr r4,r1 /* src: current exception frame */
897 mr r1,r3 /* Reroute the trampoline frame to r1 */
909 lwz r5,GPR1(r1)
928 lwz r3,_MSR(r1)
947 kuap_restore r1, r2, r9, r10, r0
965 lwz r9,_MSR(r1)
974 stwu r1,-32(r1)
976 stw r0,4(r1)
978 addi r1, r1, 32
979 lwz r9,_MSR(r1)
983 lwz r0,GPR0(r1)
984 lwz r2,GPR2(r1)
985 REST_4GPRS(3, r1)
986 REST_2GPRS(7, r1)
988 lwz r10,_XER(r1)
989 lwz r11,_CTR(r1)
994 lwarx r11,0,r1
996 stwcx. r0,0,r1 /* to clear the reservation */
1002 lwz r10,_CCR(r1)
1003 lwz r11,_LINK(r1)
1009 stw r10, 8(r1)
1023 lwz r12,_NIP(r1)
1026 REST_4GPRS(9, r1)
1027 lwz r1,GPR1(r1)
1042 lwz r11,_LINK(r1)
1044 lwz r10,_CCR(r1)
1048 stw r10, 8(r1)
1049 REST_2GPRS(9, r1)
1052 lwz r11,_NIP(r1)
1053 lwz r12,_MSR(r1)
1056 REST_2GPRS(11, r1)
1057 lwz r1,GPR1(r1)
1070 * running with r1 pointing into critical_stack, not the current
1084 tophys(r1, r1);
1090 REST_NVGPRS(r1); \
1091 lwz r3,_MSR(r1); \
1095 lwz r0,GPR0(r1); \
1096 lwz r2,GPR2(r1); \
1097 REST_4GPRS(3, r1); \
1098 REST_2GPRS(7, r1); \
1099 lwz r10,_XER(r1); \
1100 lwz r11,_CTR(r1); \
1103 stwcx. r0,0,r1; /* to clear the reservation */ \
1104 lwz r11,_LINK(r1); \
1106 lwz r10,_CCR(r1); \
1109 lwz r9,_DEAR(r1); \
1110 lwz r10,_ESR(r1); \
1113 lwz r11,_NIP(r1); \
1114 lwz r12,_MSR(r1); \
1117 lwz r9,GPR9(r1); \
1118 lwz r12,GPR12(r1); \
1119 lwz r10,GPR10(r1); \
1120 lwz r11,GPR11(r1); \
1121 lwz r1,GPR1(r1); \
1126 lwz r9,_##exc_lvl_srr0(r1); \
1127 lwz r10,_##exc_lvl_srr1(r1); \
1134 lwz r11,MAS7(r1); \
1140 lwz r9,MAS0(r1); \
1141 lwz r10,MAS1(r1); \
1142 lwz r11,MAS2(r1); \
1144 lwz r9,MAS3(r1); \
1146 lwz r10,MAS6(r1); \
1153 lwz r9,MMUCR(r1); \
1181 lwz r10,SAVED_KSP_LIMIT(r1)
1191 lwz r10,SAVED_KSP_LIMIT(r1)
1202 lwz r10,SAVED_KSP_LIMIT(r1)
1275 lwz r3,_TRAP(r1)
1278 SAVE_NVGPRS(r1)
1280 stw r3,_TRAP(r1)
1281 2: addi r3,r1,STACK_FRAME_OVERHEAD
1284 REST_NVGPRS(r1)
1308 lwz r3,_TRAP(r1)
1311 SAVE_NVGPRS(r1)
1313 stw r3,_TRAP(r1)
1317 4: addi r3,r1,STACK_FRAME_OVERHEAD
1340 stwu r1,-INT_FRAME_SIZE(r1)
1342 stw r0,INT_FRAME_SIZE+4(r1)
1347 tophys_novmstack r7, r1
1351 stw r9,8(r1)
1360 1: tophys_novmstack r9, r1
1368 addi r1,r1,INT_FRAME_SIZE