Home
last modified time | relevance | path

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

/qemu/target/riscv/
H A Dop_helper.c396 target_ulong prev_priv = get_field(mstatus, MSTATUS_MPP); in helper_mret()
405 mstatus = set_field(mstatus, MSTATUS_MPP, in helper_mret()
H A Dcpu_bits.h560 #define MSTATUS_MPP 0x00001800 macro
H A Dcpu.h711 mode = get_field(env->mstatus, MSTATUS_MPP); in cpu_address_mode()
H A Dcpu_helper.c53 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 Dcsr.c1954 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()