Searched refs:MSTATUS_MPP (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/target/riscv/ |
H A D | op_helper.c | 336 target_ulong prev_priv = get_field(mstatus, MSTATUS_MPP); in helper_mret() 348 mstatus = set_field(mstatus, MSTATUS_MPP, in helper_mret()
|
H A D | cpu_bits.h | 549 #define MSTATUS_MPP 0x00001800 macro
|
H A D | cpu.h | 662 mode = get_field(env->mstatus, MSTATUS_MPP); in cpu_address_mode()
|
H A D | cpu_helper.c | 51 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 D | csr.c | 1574 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 D | encoding.h | 26 #define MSTATUS_MPP 0x00001800 macro
|