Searched refs:virt_enabled (Results 1 – 10 of 10) sorted by relevance
/openbmc/qemu/target/riscv/ |
H A D | op_helper.c | 142 if (env->virt_enabled && in check_zicbo_envcfg() 265 target_ulong prev_priv, prev_virt = env->virt_enabled; in helper_sret() 280 if (env->virt_enabled && get_field(env->hstatus, HSTATUS_VTSR)) { in helper_sret() 295 if (riscv_has_ext(env, RVH) && !env->virt_enabled) { in helper_sret() 381 (rvs && prv_u && !env->virt_enabled)) { in helper_wfi() 383 } else if (env->virt_enabled && in helper_wfi() 395 if (env->virt_enabled && (env->priv == PRV_S || env->priv == PRV_U) && in helper_wrs_nto() 407 if (!env->virt_enabled && in helper_tlb_flush() 411 } else if (env->virt_enabled && in helper_tlb_flush() 429 if (env->virt_enabled) { in helper_hyp_tlb_flush() [all …]
|
H A D | cpu_helper.c | 43 bool virt = env->virt_enabled; in riscv_env_mmu_index() 82 if (env->virt_enabled) { in cpu_get_fcfien() 111 if (env->virt_enabled) { in cpu_get_bcfien() 188 if (env->virt_enabled) { in cpu_get_tb_cpu_state() 509 if (env->virt_enabled) { in riscv_cpu_local_irq_pending() 587 if (env->virt_enabled && !(env->mstatus_hs & MSTATUS_FS)) { in riscv_cpu_fp_enabled() 600 if (env->virt_enabled && !(env->mstatus_hs & MSTATUS_VS)) { in riscv_cpu_vector_enabled() 618 bool current_virt = env->virt_enabled; in riscv_cpu_swap_hypervisor_regs() 720 if (env->virt_enabled) { in riscv_cpu_interrupt() 778 if (newpriv != env->priv || env->virt_enabled != virt_en) { in riscv_cpu_set_mode() [all …]
|
H A D | pmu.c | 109 bool virt_on = env->virt_enabled; in riscv_pmu_incr_ctr_rv32() 150 bool virt_on = env->virt_enabled; in riscv_pmu_incr_ctr_rv64() 206 if (env->virt_enabled) { in riscv_pmu_icount_update_priv() 246 if (env->virt_enabled) { in riscv_pmu_cycle_update_priv()
|
H A D | csr.c | 48 bool virt = env->virt_enabled; in smstateen_acc_ok() 146 if (env->virt_enabled) { in ctr() 426 bool virt = env->virt_enabled; in sstateen() 491 if (env->virt_enabled) { in sstc() 512 if (env->priv == PRV_S && !env->virt_enabled && in satp() 516 if (env->priv == PRV_S && env->virt_enabled && in satp() 526 if (env->priv == PRV_S && !env->virt_enabled && in hgatp() 624 } else if (env->virt_enabled) { in seed() 1075 riscv_pmu_update_fixed_ctrs(env, env->priv, env->virt_enabled); in riscv_pmu_ctr_get_fixed_counters_val() 1255 uint64_t delta = env->virt_enabled ? env->htimedelta : 0; in read_time() [all …]
|
H A D | debug.c | 316 if (env->virt_enabled) { in trigger_priv_match() 325 if (env->virt_enabled) { in trigger_priv_match() 338 if (env->virt_enabled) { in trigger_priv_match() 689 if (env->virt_enabled) { in check_itrigger_priv()
|
H A D | translate.c | 83 bool virt_enabled; member 646 if (ctx->virt_enabled) { in mark_fs_dirty() 675 if (ctx->virt_enabled) { in mark_vs_dirty() 1232 ctx->virt_enabled = FIELD_EX32(tb_flags, TB_FLAGS, VIRT_ENABLED); in riscv_tr_init_disas_context()
|
H A D | machine.c | 412 VMSTATE_BOOL(env.virt_enabled, RISCVCPU),
|
H A D | cpu.h | 257 bool virt_enabled; member
|
H A D | cpu.c | 758 qemu_fprintf(f, " %s %d\n", "V = ", env->virt_enabled); in riscv_cpu_dump_state()
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvf.c.inc | 23 ctx->virt_inst_excp = ctx->virt_enabled && ctx->cfg_ptr->ext_zfinx; \
|