Home
last modified time | relevance | path

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

/openbmc/qemu/target/riscv/
H A Dcsr.c49 RISCVException smstateen_acc_ok(CPURISCVState *env, int index, uint64_t bit)
81 static RISCVException fs(CPURISCVState *env, int csrno)
96 static RISCVException vs(CPURISCVState *env, int csrno)
109 static RISCVException ctr(CPURISCVState *env, int csrno)
165 static RISCVException ctr32(CPURISCVState *env, int csrno)
174 static RISCVException zcmt(CPURISCVState *env, int csrno)
181 RISCVException ret = smstateen_acc_ok(env, 0, SMSTATEEN0_JVT); in zcmt()
190 static RISCVException cfi_ss(CPURISCVState *env, int csrno)
217 static RISCVException mctr(CPURISCVState *env, int csrno)
240 static RISCVException mctr3 in mctr()
[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 Dcpu.h657 RISCVException smstateen_acc_ok(CPURISCVState *env, int index, uint64_t bit);
671 RISCVException exception,
858 RISCVException riscv_csrr(CPURISCVState *env, int csrno,
861 RISCVException riscv_csrrw(CPURISCVState *env, int csrno,
864 RISCVException riscv_csrrw_debug(CPURISCVState *env, int csrno,
882 typedef RISCVException (*riscv_csr_predicate_fn)(CPURISCVState *env,
884 typedef RISCVException (*riscv_csr_read_fn)(CPURISCVState *env, int csrno,
886 typedef RISCVException (*riscv_csr_write_fn)(CPURISCVState *env, int csrno,
889 typedef RISCVException (*riscv_csr_op_fn)(CPURISCVState *env, int csrno,
894 RISCVException riscv_csrr_i12
[all...]
H A Dop_helper.c47 RISCVException exception, in helper_raise_exception()
77 RISCVException ret = riscv_csrr(env, csr, &val); in helper_csrw()
88 RISCVException ret = riscv_csrrw(env, csr, NULL, src, mask, GETPC()); in helper_csrrw()
99 RISCVException ret = riscv_csrrw(env, csr, &val, src, write_mask, GETPC()); in helper_csrr_i128()
110 RISCVException ret = riscv_csrr_i128(env, csr, &rv); in helper_csrw_i128()
123 RISCVException ret = riscv_csrrw_i128(env, csr, NULL, in helper_csrrw_i128()
137 RISCVException ret = riscv_csrrw_i128(env, csr, &rv,
521 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.h761 typedef enum RISCVException { enum
786 } RISCVException; typedef
H A Dcpu.c571 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state()
594 RISCVException res = riscv_csrrw_debug(env, CSR_FCSR, &val, 0, 0); in riscv_cpu_dump_state()
620 RISCVException res = riscv_csrrw_debug(env, csrno, &val, 0, 0); in riscv_cpu_dump_state()
H A Dtranslate.c257 static void generate_exception(DisasContext *ctx, RISCVException excp) in gen_exception_illegal()