Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dop_helper.c291 mstatus = set_field(mstatus, MSTATUS_MPRV, 0); in helper_sret()
352 mstatus = set_field(mstatus, MSTATUS_MPRV, 0); in helper_mret()
H A Dcpu_bits.h552 #define MSTATUS_MPRV 0x00020000 macro
H A Dcpu.h661 if (mode == PRV_M && get_field(env->mstatus, MSTATUS_MPRV)) { in cpu_address_mode()
H A Dcpu_helper.c50 if (mode == PRV_M && get_field(status, MSTATUS_MPRV)) { in riscv_env_mmu_index()
H A Dcpu.c944 env->mstatus &= ~(MSTATUS_MIE | MSTATUS_MPRV); in riscv_cpu_reset_hold()
H A Dcsr.c1614 MSTATUS_SPP | MSTATUS_MPRV | MSTATUS_SUM | in write_mstatus()
/openbmc/u-boot/arch/riscv/include/asm/
H A Dencoding.h29 #define MSTATUS_MPRV 0x00020000 macro