Lines Matching refs:virt_enabled
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()
364 (rvs && prv_u && !env->virt_enabled)) { in helper_wfi()
366 } else if (env->virt_enabled && in helper_wfi()
378 if (env->virt_enabled && (env->priv == PRV_S || env->priv == PRV_U) && in helper_wrs_nto()
390 if (!env->virt_enabled && in helper_tlb_flush()
394 } else if (env->virt_enabled && in helper_tlb_flush()
412 if (env->virt_enabled) { in helper_hyp_tlb_flush()
417 (env->priv == PRV_S && !env->virt_enabled)) { in helper_hyp_tlb_flush()
427 if (env->priv == PRV_S && !env->virt_enabled && in helper_hyp_gvma_tlb_flush()
439 } else if (env->virt_enabled) { in check_access_hlsv()