Home
last modified time | relevance | path

Searched refs:tstate (Results 1 – 8 of 8) sorted by relevance

/qemu/target/sparc/
H A Dwin_helper.c427 cpu_put_ccr(env, tsptr->tstate >> 32); in helper_done()
428 env->asi = (tsptr->tstate >> 24) & 0xff; in helper_done()
429 cpu_change_pstate(env, (tsptr->tstate >> 8) & 0xf3f); in helper_done()
430 cpu_put_cwp64(env, tsptr->tstate & 0xff); in helper_done()
432 uint32_t new_gl = (tsptr->tstate >> 40) & 7; in helper_done()
456 cpu_put_ccr(env, tsptr->tstate >> 32); in helper_retry()
457 env->asi = (tsptr->tstate >> 24) & 0xff; in helper_retry()
458 cpu_change_pstate(env, (tsptr->tstate >> 8) & 0xf3f); in helper_retry()
459 cpu_put_cwp64(env, tsptr->tstate & 0xff); in helper_retry()
461 uint32_t new_gl = (tsptr->tstate >> 40) & 7; in helper_retry()
H A Dcpu.h222 uint64_t tstate; member
771 uint64_t tstate = (cpu_get_ccr(env) << 32) | in sparc64_tstate() local
776 tstate |= (env->gl & 7ULL) << 40; in sparc64_tstate()
778 return tstate; in sparc64_tstate()
H A Dint64_helper.c194 tsptr->tstate = sparc64_tstate(env); in sparc_cpu_do_interrupt()
H A Dmachine.c34 VMSTATE_UINT64(tstate, trap_state),
H A Dtranslate.c3114 tcg_gen_ld_tl(dst, r_tsptr, offsetof(trap_state, tstate)); in do_rdtstate()
3483 tcg_gen_st_tl(src, r_tsptr, offsetof(trap_state, tstate)); in do_wrtstate()
/qemu/linux-user/sparc/
H A Dsignal.c130 __put_user(sparc64_tstate(env), &regs->tstate); in save_pt_regs()
155 uint64_t tstate; in restore_pt_regs() local
156 __get_user(tstate, &regs->tstate); in restore_pt_regs()
157 cpu_put_ccr(env, tstate >> 32); in restore_pt_regs()
158 env->asi = extract64(tstate, 24, 8); in restore_pt_regs()
591 target_ulong pc, npc, tstate; in sparc64_set_context() local
625 __get_user(tstate, &((*grp)[SPARC_MC_TSTATE])); in sparc64_set_context()
627 env->asi = (tstate >> 24) & 0xff; in sparc64_set_context()
628 cpu_put_ccr(env, (tstate >> 32) & 0xff); in sparc64_set_context()
H A Dcpu_loop.c184 uint64_t tstate = sparc64_tstate(env); in do_getpsr() local
187 return ((tstate & TSTATE_CWP) | in do_getpsr()
189 ((tstate & TSTATE_ICC) >> 12) | in do_getpsr()
190 ((tstate & TSTATE_XCC) >> 20) | in do_getpsr()
H A Dtarget_syscall.h7 abi_ulong tstate; member