Home
last modified time | relevance | path

Searched refs:riscv_cpu_cfg (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dpmp.c95 if (riscv_cpu_cfg(env)->ext_smepmp) { in pmp_write_cfg()
277 if (!riscv_cpu_cfg(env)->pmp || (mode == PRV_M)) { in pmp_hart_has_privs_default()
322 if (riscv_cpu_cfg(env)->mmu) { in pmp_hart_has_privs()
591 if (riscv_cpu_cfg(env)->ext_smepmp) { in mseccfg_csr_write()
644 if (!riscv_cpu_cfg(env)->pmp || !pmp_get_num_rules(env)) { in pmp_get_tlb_size()
H A Dcsr.c50 if (env->priv == PRV_M || !riscv_cpu_cfg(env)->ext_smstateen) { in smstateen_acc_ok()
82 !riscv_cpu_cfg(env)->ext_zfinx) { in fs()
95 if (riscv_cpu_cfg(env)->ext_zve32x) { in vs()
124 if (!riscv_cpu_cfg(env)->ext_zicntr) { in ctr()
173 if (!riscv_cpu_cfg(env)->ext_zcmt) { in zcmt()
241 if (!riscv_cpu_cfg(env)->ext_sscofpmf) { in sscofpmf()
259 if (!riscv_cpu_cfg(env)->ext_smcntrpmf) { in smcntrpmf()
292 if (!riscv_cpu_cfg(env)->ext_smaia) { in aia_any()
301 if (!riscv_cpu_cfg(env)->ext_smaia) { in aia_any32()
328 if (!riscv_cpu_cfg(env)->ext_ssaia) { in aia_smode()
[all …]
H A Dcpu_helper.c427 if (!((extirq == IRQ_M_EXT) ? riscv_cpu_cfg(env)->ext_smaia : in riscv_cpu_pending_to_irq()
428 riscv_cpu_cfg(env)->ext_ssaia)) { in riscv_cpu_pending_to_irq()
843 if (!riscv_cpu_cfg(env)->pmp) { in get_physical_address_pmp()
915 if (mode == PRV_M || !riscv_cpu_cfg(env)->mmu) { in get_physical_address()
998 bool svade = riscv_cpu_cfg(env)->ext_svade; in get_physical_address()
999 bool svadu = riscv_cpu_cfg(env)->ext_svadu; in get_physical_address()
1078 if (!riscv_cpu_cfg(env)->ext_svnapot && (pte & PTE_N)) { in get_physical_address()
1263 if (riscv_cpu_cfg(env)->ext_svnapot && (pte & PTE_N)) { in get_physical_address()
H A Dmonitor.c220 if (!riscv_cpu_cfg(env)->mmu) { in hmp_info_mem()
H A Dop_helper.c338 if (riscv_cpu_cfg(env)->pmp && in helper_mret()
H A Dcpu.h651 static inline const RISCVCPUConfig *riscv_cpu_cfg(CPURISCVState *env) in riscv_cpu_cfg() function
H A Dvector_helper.c772 uint32_t vlenb = riscv_cpu_cfg(env)->vlenb; in GEN_VEXT_LDFF()
1162 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3; \
1202 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3; \
1412 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3; \
1479 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3; \
4234 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3; \ in RVVCALL()
4276 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3; \
4797 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3;\ in GEN_VEXT_FRED()
4886 uint32_t total_elems = riscv_cpu_cfg(env)->vlenb << 3; in vmsetm()
H A Dcpu.c1004 if (riscv_cpu_cfg(env)->ext_smepmp) { in riscv_cpu_reset_hold()
/openbmc/qemu/linux-user/riscv/
H A Dtarget_proc.h14 const RISCVCPUConfig *cfg = riscv_cpu_cfg((CPURISCVState *) cpu_env); in open_cpuinfo()
/openbmc/qemu/linux-user/
H A Dsyscall.c8984 const RISCVCPUConfig *cfg = riscv_cpu_cfg(env); in risc_hwprobe_fill_pairs()