Home
last modified time | relevance | path

Searched refs:RISCVException (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dcsr.c46 RISCVException smstateen_acc_ok(CPURISCVState *env, int index, uint64_t bit) in smstateen_acc_ok()
78 static RISCVException fs(CPURISCVState *env, int csrno) in fs()
93 static RISCVException vs(CPURISCVState *env, int csrno) in vs()
106 static RISCVException ctr(CPURISCVState *env, int csrno) in ctr()
162 static RISCVException ctr32(CPURISCVState *env, int csrno) in ctr32()
171 static RISCVException zcmt(CPURISCVState *env, int csrno) in zcmt()
178 RISCVException ret = smstateen_acc_ok(env, 0, SMSTATEEN0_JVT); in zcmt()
187 static RISCVException cfi_ss(CPURISCVState *env, int csrno) in cfi_ss()
207 static RISCVException mctr(CPURISCVState *env, int csrno) in mctr()
230 static RISCVException mctr32(CPURISCVState *env, int csrno) in mctr32()
[all …]
H A Dcpu.h599 RISCVException smstateen_acc_ok(CPURISCVState *env, int index, uint64_t bit);
778 RISCVException riscv_csrr(CPURISCVState *env, int csrno,
780 RISCVException riscv_csrrw(CPURISCVState *env, int csrno,
783 RISCVException riscv_csrrw_debug(CPURISCVState *env, int csrno,
801 typedef RISCVException (*riscv_csr_predicate_fn)(CPURISCVState *env,
803 typedef RISCVException (*riscv_csr_read_fn)(CPURISCVState *env, int csrno,
805 typedef RISCVException (*riscv_csr_write_fn)(CPURISCVState *env, int csrno,
807 typedef RISCVException (*riscv_csr_op_fn)(CPURISCVState *env, int csrno,
812 RISCVException riscv_csrr_i128(CPURISCVState *env, int csrno,
814 RISCVException riscv_csrrw_i128(CPURISCVState *env, int csrno,
[all …]
H A Dth_csr.c36 static RISCVException smode(CPURISCVState *env, int csrno) in smode()
54 static RISCVException read_th_sxstatus(CPURISCVState *env, int csrno, in read_th_sxstatus()
H A Dop_helper.c54 RISCVException ret = riscv_csrr(env, csr, &val); in helper_csrr()
65 RISCVException ret = riscv_csrrw(env, csr, NULL, src, mask); in helper_csrw()
76 RISCVException ret = riscv_csrrw(env, csr, &val, src, write_mask); in helper_csrrw()
87 RISCVException ret = riscv_csrr_i128(env, csr, &rv); in helper_csrr_i128()
100 RISCVException ret = riscv_csrrw_i128(env, csr, NULL, in helper_csrw_i128()
114 RISCVException ret = riscv_csrrw_i128(env, csr, &rv, in helper_csrrw_i128()
H A Dpmu.h39 RISCVException riscv_pmu_read_ctr(CPURISCVState *env, target_ulong *val,
H A Dzce_helper.c29 RISCVException ret = smstateen_acc_ok(env, 0, SMSTATEEN0_JVT); in HELPER()
H A Dcpu_bits.h672 typedef enum RISCVException { enum
696 } RISCVException; typedef
H A Dcpu.c808 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state()
831 RISCVException res = riscv_csrrw_debug(env, CSR_FCSR, &val, 0, 0); in riscv_cpu_dump_state()
857 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state()