Lines Matching full:r1
46 mtspr SPRN_SPRG_SCRATCH2,r1
47 subi r1, r1, INT_FRAME_SIZE /* use r1 if kernel */
49 mfspr r1,SPRN_SPRG_THREAD
50 lwz r1,TASK_STACK-THREAD(r1)
51 addi r1, r1, THREAD_SIZE - INT_FRAME_SIZE
54 mtcrf 0x3f, r1
77 stw r11,GPR1(r1)
78 stw r11,0(r1)
79 mr r11, r1
112 stw r0,GPR0(r1)
115 stw r10,8(r1)
117 stw r10,_TRAP(r1)
118 SAVE_GPRS(3, 8, r1)
119 SAVE_NVGPRS(r1)
120 stw r2,GPR2(r1)
121 stw r12,_NIP(r1)
122 stw r9,_MSR(r1)
125 stw r10,_CTR(r1)
129 stw r10,_XER(r1)
130 addi r3,r1,STACK_FRAME_OVERHEAD
157 mr r11, r1
158 lwz r1,TASK_STACK-THREAD(r10)
160 addi r1, r1, THREAD_SIZE - INT_FRAME_SIZE
163 stw r12,_NIP(r1)
166 stw r12,_CCR(r1)
174 * Note2: once we have set r1 we are in a position to take exceptions
207 mfspr r1, SPRN_SPRG_THREAD
208 lwz r1, TASK_CPU - THREAD(r1)
209 slwi r1, r1, 3
210 addis r1, r1, emergency_ctx-PAGE_OFFSET@ha
212 lis r1, emergency_ctx-PAGE_OFFSET@ha
214 lwz r1, emergency_ctx-PAGE_OFFSET@l(r1)
215 addi r1, r1, THREAD_SIZE - INT_FRAME_SIZE