Searched refs:mstatus_hs (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/target/riscv/ |
H A D | cpu_helper.c | 119 fs = MIN(fs, get_field(env->mstatus_hs, MSTATUS_FS)); in cpu_get_tb_cpu_state() 120 vs = MIN(vs, get_field(env->mstatus_hs, MSTATUS_VS)); in cpu_get_tb_cpu_state() 512 if (env->virt_enabled && !(env->mstatus_hs & MSTATUS_FS)) { in riscv_cpu_fp_enabled() 525 if (env->virt_enabled && !(env->mstatus_hs & MSTATUS_VS)) { in riscv_cpu_vector_enabled() 551 env->mstatus |= env->mstatus_hs; in riscv_cpu_swap_hypervisor_regs() 572 env->mstatus_hs = env->mstatus & mstatus_mask; in riscv_cpu_swap_hypervisor_regs() 1055 mxr |= get_field(env->mstatus_hs, MSTATUS_MXR); in get_physical_address()
|
H A D | translate.c | 638 tcg_gen_ld_tl(tmp, tcg_env, offsetof(CPURISCVState, mstatus_hs)); in mark_fs_dirty() 640 tcg_gen_st_tl(tmp, tcg_env, offsetof(CPURISCVState, mstatus_hs)); in mark_fs_dirty() 667 tcg_gen_ld_tl(tmp, tcg_env, offsetof(CPURISCVState, mstatus_hs)); in mark_vs_dirty() 669 tcg_gen_st_tl(tmp, tcg_env, offsetof(CPURISCVState, mstatus_hs)); in mark_vs_dirty()
|
H A D | cpu.c | 863 env->mstatus_hs = set_field(env->mstatus_hs, in riscv_cpu_reset_hold() 865 env->mstatus_hs = set_field(env->mstatus_hs, in riscv_cpu_reset_hold()
|
H A D | machine.c | 122 VMSTATE_UINT64(env.mstatus_hs, RISCVCPU),
|
H A D | cpu.h | 304 uint64_t mstatus_hs; member
|