Home
last modified time | relevance | path

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

/openbmc/qemu/target/sparc/
H A Dint64_helper.c201 env->htstate[env->tl] = env->hpstate; in sparc_cpu_do_interrupt()
205 env->hpstate |= HS_PRIV; in sparc_cpu_do_interrupt()
226 env->hpstate |= HS_PRIV; in sparc_cpu_do_interrupt()
234 env->hpstate |= HS_PRIV; in sparc_cpu_do_interrupt()
H A Dwin_helper.c444 env->hpstate = env->htstate[env->tl]; in helper_done()
473 env->hpstate = env->htstate[env->tl]; in helper_retry()
H A Dcpu.h537 uint64_t hpstate, htstate[MAXTL_MAX], hintp, htba, hver, hstick_cmpr, ssr; member
697 return cpu_has_hypervisor(env1) && (env1->hpstate & HS_PRIV); in cpu_hypervisor_mode()
H A Dmachine.c222 VMSTATE_UINT64(env.hpstate, SPARCCPU),
H A Dcpu.c67 env->hpstate = cpu_has_hypervisor(env) ? HS_PRIV : 0; in sparc_cpu_reset_hold()
667 TARGET_FMT_lx "\n", env->tbr, env->hpstate, env->htba); in sparc_cpu_dump_state()
H A Dldst_helper.c497 } else if (cpu_has_hypervisor(env) && !(env->hpstate & HS_PRIV)) { in sparc_raise_mmu_fault()
503 } else if (cpu_has_hypervisor(env) && !(env->hpstate & HS_PRIV)) { in sparc_raise_mmu_fault()
H A Dtranslate.c2820 tcg_gen_ld_tl(dst, tcg_env, env64_field_offsetof(hpstate)); in do_rdhpstate()
3401 tcg_gen_st_tl(src, tcg_env, env64_field_offsetof(hpstate)); in TRANS()
/openbmc/linux/arch/sparc/include/asm/
H A Dhypervisor.h1373 unsigned char hpstate; /* Hyper-privileged state */ member