Searched refs:csrno (Results 1 – 4 of 4) sorted by path
/qemu/disas/ |
H A D | riscv.c | 2103 static const char *csr_name(int csrno) in csr_name() argument 2105 switch (csrno) { in csr_name()
|
/qemu/target/riscv/ |
H A D | cpu.c | 806 int csrno = dump_csrs[i]; in riscv_cpu_dump_state() local 808 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state() 816 csr_ops[csrno].name, val); in riscv_cpu_dump_state() 849 int csrno = dump_rvv_csrs[i]; in riscv_cpu_dump_state() local 851 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state() 859 csr_ops[csrno].name, val); in riscv_cpu_dump_state()
|
H A D | cpu.h | 711 RISCVException riscv_csrrw(CPURISCVState *env, int csrno, 714 RISCVException riscv_csrrw_debug(CPURISCVState *env, int csrno, 719 static inline void riscv_csr_write(CPURISCVState *env, int csrno, in riscv_csr_write() argument 725 static inline target_ulong riscv_csr_read(CPURISCVState *env, int csrno) in riscv_csr_read() argument 728 riscv_csrrw(env, csrno, &val, 0, 0); in riscv_csr_read() 733 int csrno); 734 typedef RISCVException (*riscv_csr_read_fn)(CPURISCVState *env, int csrno, 738 typedef RISCVException (*riscv_csr_op_fn)(CPURISCVState *env, int csrno, 743 RISCVException riscv_csrrw_i128(CPURISCVState *env, int csrno, 817 void riscv_get_csr_ops(int csrno, riscv_csr_operations *ops); [all …]
|
H A D | csr.c | 123 if ((csrno >= CSR_CYCLE && csrno <= CSR_INSTRET) || in ctr() 124 (csrno >= CSR_CYCLEH && csrno <= CSR_INSTRETH)) { in ctr() 420 if ((csrno == CSR_VSTIMECMP) || (csrno == CSR_VSTIMECMPH)) { in sstc() 964 if (csrno >= CSR_MCYCLE && csrno <= CSR_MHPMCOUNTER31) { in read_hpmcounter() 966 } else if (csrno >= CSR_CYCLE && csrno <= CSR_HPMCOUNTER31) { in read_hpmcounter() 980 if (csrno >= CSR_MCYCLEH && csrno <= CSR_MHPMCOUNTER31H) { in read_hpmcounterh() 1729 csrno = aia_xlate_vs_csrno(env, csrno); in rmw_xiselect() 1813 csrno = aia_xlate_vs_csrno(env, csrno); in rmw_xireg() 1888 csrno = aia_xlate_vs_csrno(env, csrno); in rmw_xtopei() 4399 ret = csr_ops[csrno].read(env, csrno, &old_value); in riscv_csrrw_do64() [all …]
|