Home
last modified time | relevance | path

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

/qemu/target/riscv/
H A Dcsr.c50 RISCVException smstateen_acc_ok(CPURISCVState *env, int index, uint64_t bit) in smstateen_acc_ok()
82 static RISCVException fs(CPURISCVState *env, int csrno) in fs()
97 static RISCVException vs(CPURISCVState *env, int csrno) in vs()
110 static RISCVException ctr(CPURISCVState *env, int csrno) in ctr()
166 static RISCVException ctr32(CPURISCVState *env, int csrno) in ctr32()
175 static RISCVException zcmt(CPURISCVState *env, int csrno) in zcmt()
182 RISCVException ret = smstateen_acc_ok(env, 0, SMSTATEEN0_JVT); in zcmt()
191 static RISCVException cfi_ss(CPURISCVState *env, int csrno) in cfi_ss()
216 static RISCVException mctr(CPURISCVState *env, int csrno) in mctr()
239 static RISCVException mctr32(CPURISCVState *env, int csrno) in mctr32()
[all …]
H A Dcpu.h639 RISCVException smstateen_acc_ok(CPURISCVState *env, int index, uint64_t bit);
653 RISCVException exception,
840 RISCVException riscv_csrr(CPURISCVState *env, int csrno,
843 RISCVException riscv_csrrw(CPURISCVState *env, int csrno,
846 RISCVException riscv_csrrw_debug(CPURISCVState *env, int csrno,
864 typedef RISCVException (*riscv_csr_predicate_fn)(CPURISCVState *env,
866 typedef RISCVException (*riscv_csr_read_fn)(CPURISCVState *env, int csrno,
868 typedef RISCVException (*riscv_csr_write_fn)(CPURISCVState *env, int csrno,
871 typedef RISCVException (*riscv_csr_op_fn)(CPURISCVState *env, int csrno,
876 RISCVException riscv_csrr_i128(CPURISCVState *env, int csrno,
[all …]
H A Dth_csr.c30 static RISCVException smode(CPURISCVState *env, int csrno) in smode()
44 static RISCVException read_th_sxstatus(CPURISCVState *env, int csrno, in read_th_sxstatus()
H A Dop_helper.c33 RISCVException exception, in riscv_raise_exception()
63 RISCVException ret = riscv_csrr(env, csr, &val); in helper_csrr()
74 RISCVException ret = riscv_csrrw(env, csr, NULL, src, mask, GETPC()); in helper_csrw()
85 RISCVException ret = riscv_csrrw(env, csr, &val, src, write_mask, GETPC()); in helper_csrrw()
96 RISCVException ret = riscv_csrr_i128(env, csr, &rv); in helper_csrr_i128()
109 RISCVException ret = riscv_csrrw_i128(env, csr, NULL, in helper_csrw_i128()
123 RISCVException ret = riscv_csrrw_i128(env, csr, &rv, in helper_csrrw_i128()
504 RISCVException ret = smstateen_acc_ok(env, 0, SMSTATEEN0_CTR); in helper_ctr_clear()
H A Dpmu.h39 RISCVException riscv_pmu_read_ctr(CPURISCVState *env, target_ulong *val,
H A Dzce_helper.c28 RISCVException ret = smstateen_acc_ok(env, 0, SMSTATEEN0_JVT); in HELPER()
H A Dcpu_bits.h700 typedef enum RISCVException { enum
725 } RISCVException; typedef
H A Dcpu.c568 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state()
591 RISCVException res = riscv_csrrw_debug(env, CSR_FCSR, &val, 0, 0); in riscv_cpu_dump_state()
617 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state()
H A Dtranslate.c244 static void generate_exception(DisasContext *ctx, RISCVException excp) in generate_exception()