Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dop_helper.c265 target_ulong prev_priv, prev_virt = env->virt_enabled; in helper_sret() local
299 prev_virt = get_field(hstatus, HSTATUS_SPV); in helper_sret()
305 if (prev_virt) { in helper_sret()
310 riscv_cpu_set_mode(env, prev_priv, prev_virt); in helper_sret()
343 target_ulong prev_virt = get_field(env->mstatus, MSTATUS_MPV) && in helper_mret() local
356 if (riscv_has_ext(env, RVH) && prev_virt) { in helper_mret()
360 riscv_cpu_set_mode(env, prev_priv, prev_virt); in helper_mret()