Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dop_helper.c336 target_ulong prev_priv = get_field(mstatus, MSTATUS_MPP); in helper_mret()
348 mstatus = set_field(mstatus, MSTATUS_MPP, in helper_mret()
H A Dcpu_bits.h549 #define MSTATUS_MPP 0x00001800 macro
H A Dcpu.h662 mode = get_field(env->mstatus, MSTATUS_MPP); in cpu_address_mode()
H A Dcpu_helper.c51 mode = get_field(env->mstatus, MSTATUS_MPP); in riscv_env_mmu_index()
1988 s = set_field(s, MSTATUS_MPP, env->priv); in riscv_cpu_do_interrupt()
H A Dcsr.c1574 target_ulong new_mpp = get_field(val, MSTATUS_MPP); in legalize_mpp()
1590 val = set_field(val, MSTATUS_MPP, old_mpp); in legalize_mpp()
1607 val = legalize_mpp(env, get_field(mstatus, MSTATUS_MPP), val); in write_mstatus()
1615 MSTATUS_MPP | MSTATUS_MXR | MSTATUS_TVM | MSTATUS_TSR | in write_mstatus()
/openbmc/u-boot/arch/riscv/include/asm/
H A Dencoding.h26 #define MSTATUS_MPP 0x00001800 macro