Lines Matching full:gpr
122 int op = env->active_tc.gpr[25]; in report_fault()
161 env->active_tc.gpr[2] = ret; in uhi_cb()
162 env->active_tc.gpr[3] = err; in uhi_cb()
171 target_ulong addr = env->active_tc.gpr[5]; in uhi_fstat_cb()
205 target_ulong *gpr = env->active_tc.gpr; in mips_semihosting() local
206 const UHIOp op = gpr[25]; in mips_semihosting()
211 gdb_exit(gpr[4]); in mips_semihosting()
212 exit(gpr[4]); in mips_semihosting()
216 target_ulong fname = gpr[4]; in mips_semihosting()
234 gpr[2] = ret; in mips_semihosting()
238 semihost_sys_open(cs, uhi_cb, fname, 0, gpr[5], gpr[6]); in mips_semihosting()
243 semihost_sys_close(cs, uhi_cb, gpr[4]); in mips_semihosting()
246 semihost_sys_read(cs, uhi_cb, gpr[4], gpr[5], gpr[6]); in mips_semihosting()
249 semihost_sys_write(cs, uhi_cb, gpr[4], gpr[5], gpr[6]); in mips_semihosting()
252 semihost_sys_lseek(cs, uhi_cb, gpr[4], gpr[5], gpr[6]); in mips_semihosting()
255 semihost_sys_remove(cs, uhi_cb, gpr[4], 0); in mips_semihosting()
258 semihost_sys_fstat(cs, uhi_fstat_cb, gpr[4], gpr[5]); in mips_semihosting()
262 gpr[2] = semihosting_get_argc(); in mips_semihosting()
266 const char *s = semihosting_get_arg(gpr[4]); in mips_semihosting()
267 gpr[2] = s ? strlen(s) : -1; in mips_semihosting()
272 const char *s = semihosting_get_arg(gpr[4]); in mips_semihosting()
277 gpr[2] = -1; in mips_semihosting()
281 addr = gpr[5]; in mips_semihosting()
288 gpr[2] = 0; in mips_semihosting()
294 target_ulong addr = gpr[4]; in mips_semihosting()
315 g_string_append_printf(str, "%d%s", (int)gpr[5], pct_d + 2); in mips_semihosting()
323 addr = gpr[29] - str->len; in mips_semihosting()
332 gpr[2] = qemu_semihosting_console_write(str->str, str->len); in mips_semihosting()
342 msg = lock_user_string(gpr[4]); in mips_semihosting()
346 file = lock_user_string(gpr[5]); in mips_semihosting()
352 msg, file, (int)gpr[6]); in mips_semihosting()