Lines Matching refs:gr

173 	__greg_t *gr = mcp->__gregs;  in get_mcontext()  local
176 gr[_REG_R0] = 0; in get_mcontext()
177 gr[_REG_CPSR] = tf->tf_spsr & ~PSR_C; in get_mcontext()
179 gr[_REG_R0] = tf->tf_r0; in get_mcontext()
180 gr[_REG_CPSR] = tf->tf_spsr; in get_mcontext()
182 gr[_REG_R1] = tf->tf_r1; in get_mcontext()
183 gr[_REG_R2] = tf->tf_r2; in get_mcontext()
184 gr[_REG_R3] = tf->tf_r3; in get_mcontext()
185 gr[_REG_R4] = tf->tf_r4; in get_mcontext()
186 gr[_REG_R5] = tf->tf_r5; in get_mcontext()
187 gr[_REG_R6] = tf->tf_r6; in get_mcontext()
188 gr[_REG_R7] = tf->tf_r7; in get_mcontext()
189 gr[_REG_R8] = tf->tf_r8; in get_mcontext()
190 gr[_REG_R9] = tf->tf_r9; in get_mcontext()
191 gr[_REG_R10] = tf->tf_r10; in get_mcontext()
192 gr[_REG_R11] = tf->tf_r11; in get_mcontext()
193 gr[_REG_R12] = tf->tf_r12; in get_mcontext()
194 gr[_REG_SP] = tf->tf_usr_sp; in get_mcontext()
195 gr[_REG_LR] = tf->tf_usr_lr; in get_mcontext()
196 gr[_REG_PC] = tf->tf_pc; in get_mcontext()
216 const __greg_t *gr = mcp->__gregs; in set_mcontext() local
223 spsr = gr[_REG_CPSR]; in set_mcontext()
247 tf->tf_r0 = gr[_REG_R0]; in set_mcontext()
248 tf->tf_r1 = gr[_REG_R1]; in set_mcontext()
249 tf->tf_r2 = gr[_REG_R2]; in set_mcontext()
250 tf->tf_r3 = gr[_REG_R3]; in set_mcontext()
251 tf->tf_r4 = gr[_REG_R4]; in set_mcontext()
252 tf->tf_r5 = gr[_REG_R5]; in set_mcontext()
253 tf->tf_r6 = gr[_REG_R6]; in set_mcontext()
254 tf->tf_r7 = gr[_REG_R7]; in set_mcontext()
255 tf->tf_r8 = gr[_REG_R8]; in set_mcontext()
256 tf->tf_r9 = gr[_REG_R9]; in set_mcontext()
257 tf->tf_r10 = gr[_REG_R10]; in set_mcontext()
258 tf->tf_r11 = gr[_REG_R11]; in set_mcontext()
259 tf->tf_r12 = gr[_REG_R12]; in set_mcontext()
260 tf->tf_usr_sp = gr[_REG_SP]; in set_mcontext()
261 tf->tf_usr_lr = gr[_REG_LR]; in set_mcontext()
262 tf->tf_pc = gr[_REG_PC]; in set_mcontext()
263 tf->tf_spsr = gr[_REG_CPSR]; in set_mcontext()