Home
last modified time | relevance | path

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

/qemu/target/riscv/
H A Dop_helper.c400 target_ulong prev_virt = get_field(env->mstatus, MSTATUS_MPV) && in helper_mret()
407 mstatus = set_field(mstatus, MSTATUS_MPV, 0); in helper_mret()
H A Dcpu_helper.c54 virt = get_field(env->mstatus, MSTATUS_MPV) && in riscv_env_mmu_index()
157 if (get_field(env->mstatus, MSTATUS_MPV)) { in riscv_pm_get_pmm()
2394 env->mstatus = set_field(env->mstatus, MSTATUS_MPV, in riscv_cpu_do_interrupt()
H A Dcpu_bits.h573 #define MSTATUS_MPV 0x8000000000ULL macro
H A Dcsr.c2021 mask |= MSTATUS_MPV | MSTATUS_GVA; in write_mstatus()
2059 uint64_t mask = riscv_has_ext(env, RVH) ? MSTATUS_MPV | MSTATUS_GVA : 0; in write_mstatush()