Lines Matching refs:gregs
57 target_gregset_t gregs; member
185 target_greg_t *gregs = uc->tuc_mcontext.gregs; in target_rt_setup_ucontext() local
189 __put_user(env->dregs[0], &gregs[0]); in target_rt_setup_ucontext()
190 __put_user(env->dregs[1], &gregs[1]); in target_rt_setup_ucontext()
191 __put_user(env->dregs[2], &gregs[2]); in target_rt_setup_ucontext()
192 __put_user(env->dregs[3], &gregs[3]); in target_rt_setup_ucontext()
193 __put_user(env->dregs[4], &gregs[4]); in target_rt_setup_ucontext()
194 __put_user(env->dregs[5], &gregs[5]); in target_rt_setup_ucontext()
195 __put_user(env->dregs[6], &gregs[6]); in target_rt_setup_ucontext()
196 __put_user(env->dregs[7], &gregs[7]); in target_rt_setup_ucontext()
197 __put_user(env->aregs[0], &gregs[8]); in target_rt_setup_ucontext()
198 __put_user(env->aregs[1], &gregs[9]); in target_rt_setup_ucontext()
199 __put_user(env->aregs[2], &gregs[10]); in target_rt_setup_ucontext()
200 __put_user(env->aregs[3], &gregs[11]); in target_rt_setup_ucontext()
201 __put_user(env->aregs[4], &gregs[12]); in target_rt_setup_ucontext()
202 __put_user(env->aregs[5], &gregs[13]); in target_rt_setup_ucontext()
203 __put_user(env->aregs[6], &gregs[14]); in target_rt_setup_ucontext()
204 __put_user(env->aregs[7], &gregs[15]); in target_rt_setup_ucontext()
205 __put_user(env->pc, &gregs[16]); in target_rt_setup_ucontext()
206 __put_user(sr, &gregs[17]); in target_rt_setup_ucontext()
238 target_greg_t *gregs = uc->tuc_mcontext.gregs; in target_rt_restore_ucontext() local
245 __get_user(env->dregs[0], &gregs[0]); in target_rt_restore_ucontext()
246 __get_user(env->dregs[1], &gregs[1]); in target_rt_restore_ucontext()
247 __get_user(env->dregs[2], &gregs[2]); in target_rt_restore_ucontext()
248 __get_user(env->dregs[3], &gregs[3]); in target_rt_restore_ucontext()
249 __get_user(env->dregs[4], &gregs[4]); in target_rt_restore_ucontext()
250 __get_user(env->dregs[5], &gregs[5]); in target_rt_restore_ucontext()
251 __get_user(env->dregs[6], &gregs[6]); in target_rt_restore_ucontext()
252 __get_user(env->dregs[7], &gregs[7]); in target_rt_restore_ucontext()
253 __get_user(env->aregs[0], &gregs[8]); in target_rt_restore_ucontext()
254 __get_user(env->aregs[1], &gregs[9]); in target_rt_restore_ucontext()
255 __get_user(env->aregs[2], &gregs[10]); in target_rt_restore_ucontext()
256 __get_user(env->aregs[3], &gregs[11]); in target_rt_restore_ucontext()
257 __get_user(env->aregs[4], &gregs[12]); in target_rt_restore_ucontext()
258 __get_user(env->aregs[5], &gregs[13]); in target_rt_restore_ucontext()
259 __get_user(env->aregs[6], &gregs[14]); in target_rt_restore_ucontext()
260 __get_user(env->aregs[7], &gregs[15]); in target_rt_restore_ucontext()
261 __get_user(env->pc, &gregs[16]); in target_rt_restore_ucontext()
262 __get_user(temp, &gregs[17]); in target_rt_restore_ucontext()