Searched refs:MSTATUS_MPP (Results 1 – 5 of 5) sorted by relevance
/qemu/target/riscv/ |
H A D | op_helper.c | 396 target_ulong prev_priv = get_field(mstatus, MSTATUS_MPP); in helper_mret() 405 mstatus = set_field(mstatus, MSTATUS_MPP, in helper_mret()
|
H A D | cpu_bits.h | 560 #define MSTATUS_MPP 0x00001800 macro
|
H A D | cpu.h | 711 mode = get_field(env->mstatus, MSTATUS_MPP); in cpu_address_mode()
|
H A D | cpu_helper.c | 53 mode = get_field(env->mstatus, MSTATUS_MPP); in riscv_env_mmu_index() 2416 s = set_field(s, MSTATUS_MPP, env->priv); in riscv_cpu_do_interrupt()
|
H A D | csr.c | 1954 target_ulong new_mpp = get_field(val, MSTATUS_MPP); in legalize_mpp() 1970 val = set_field(val, MSTATUS_MPP, old_mpp); in legalize_mpp() 1987 val = legalize_mpp(env, get_field(mstatus, MSTATUS_MPP), val); in write_mstatus() 1995 MSTATUS_MPP | MSTATUS_MXR | MSTATUS_TVM | MSTATUS_TSR | in write_mstatus()
|