Home
last modified time | relevance | path

Searched refs:cpu_address_mode (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dcpu.h574 static inline int cpu_address_mode(CPURISCVState *env) in cpu_address_mode() function
630 int mode = cpu_address_mode(env); in cpu_address_xl()
H A Dcsr.c4040 if ((cpu_address_mode(env) == PRV_M) && (env->mmte & M_PM_ENABLE)) { in write_mpmmask()
4068 if ((cpu_address_mode(env) == PRV_S) && (env->mmte & S_PM_ENABLE)) { in write_spmmask()
4099 if ((cpu_address_mode(env) == PRV_U) && (env->mmte & U_PM_ENABLE)) { in write_upmmask()
4126 if ((cpu_address_mode(env) == PRV_M) && (env->mmte & M_PM_ENABLE)) { in write_mpmbase()
4154 if ((cpu_address_mode(env) == PRV_S) && (env->mmte & S_PM_ENABLE)) { in write_spmbase()
4185 if ((cpu_address_mode(env) == PRV_U) && (env->mmte & U_PM_ENABLE)) { in write_upmbase()
H A Dcpu_helper.c157 int mode = cpu_address_mode(env); in riscv_cpu_update_mask()