| /openbmc/qemu/target/sparc/ |
| H A D | win_helper.c | 26 void cpu_set_cwp(CPUSPARCState *env, int new_cwp) in cpu_set_cwp() 43 target_ulong cpu_get_psr(CPUSPARCState *env) in cpu_get_psr() 68 void cpu_put_psr_icc(CPUSPARCState *env, target_ulong val) in cpu_put_psr_icc() 83 void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val) in cpu_put_psr_raw() 99 void cpu_put_psr(CPUSPARCState *env, target_ulong val) in cpu_put_psr() 107 int cpu_cwp_inc(CPUSPARCState *env, int cwp) in cpu_cwp_inc() 115 int cpu_cwp_dec(CPUSPARCState *env, int cwp) in cpu_cwp_dec() 124 void helper_rett(CPUSPARCState *env) in helper_rett() 143 void helper_save(CPUSPARCState *env) in helper_save() 154 void helper_restore(CPUSPARCState *env) in helper_restore() [all …]
|
| H A D | fop_helper.c | 47 static void check_ieee_exceptions(CPUSPARCState *env, uintptr_t ra) in check_ieee_exceptions() 87 float32 helper_fadds(CPUSPARCState *env, float32 src1, float32 src2) in helper_fadds() 94 float32 helper_fsubs(CPUSPARCState *env, float32 src1, float32 src2) in helper_fsubs() 101 float32 helper_fmuls(CPUSPARCState *env, float32 src1, float32 src2) in helper_fmuls() 108 float32 helper_fdivs(CPUSPARCState *env, float32 src1, float32 src2) in helper_fdivs() 115 float64 helper_faddd(CPUSPARCState *env, float64 src1, float64 src2) in helper_faddd() 122 float64 helper_fsubd(CPUSPARCState *env, float64 src1, float64 src2) in helper_fsubd() 129 float64 helper_fmuld(CPUSPARCState *env, float64 src1, float64 src2) in helper_fmuld() 136 float64 helper_fdivd(CPUSPARCState *env, float64 src1, float64 src2) in helper_fdivd() 143 Int128 helper_faddq(CPUSPARCState *env, Int128 src1, Int128 src2) in helper_faddq() [all …]
|
| /openbmc/qemu/target/mips/tcg/system/ |
| H A D | cp0_helper.c | 38 CPUMIPSState *env = &c->env; in mips_vpe_is_wfi() local 50 CPUMIPSState *env = &c->env; in mips_vp_is_wfi() local 113 static CPUMIPSState *mips_cpu_map_tc(CPUMIPSState *env, int *tc) in mips_cpu_map_tc() 205 uint32_t cpu_mips_get_random(CPUMIPSState *env) in cpu_mips_get_random() 230 target_ulong helper_mfc0_mvpcontrol(CPUMIPSState *env) in helper_mfc0_mvpcontrol() 235 target_ulong helper_mfc0_mvpconf0(CPUMIPSState *env) in helper_mfc0_mvpconf0() 240 target_ulong helper_mfc0_mvpconf1(CPUMIPSState *env) in helper_mfc0_mvpconf1() 245 target_ulong helper_mfc0_random(CPUMIPSState *env) in helper_mfc0_random() 250 target_ulong helper_mfc0_tcstatus(CPUMIPSState *env) in helper_mfc0_tcstatus() 255 target_ulong helper_mftc0_tcstatus(CPUMIPSState *env) in helper_mftc0_tcstatus() [all …]
|
| H A D | special_helper.c | 29 target_ulong helper_di(CPUMIPSState *env) in helper_di() 37 target_ulong helper_ei(CPUMIPSState *env) in helper_ei() 45 static void debug_pre_eret(CPUMIPSState *env) in debug_pre_eret() 60 static void debug_post_eret(CPUMIPSState *env) in debug_post_eret() 93 CPUMIPSState *env = cpu_env(cs); in mips_io_recompile_replay_branch() local 104 static inline void exception_return(CPUMIPSState *env) in exception_return() 118 void helper_eret(CPUMIPSState *env) in helper_eret() 125 void helper_eretnc(CPUMIPSState *env) in helper_eretnc() 130 void helper_deret(CPUMIPSState *env) in helper_deret() 142 void helper_cache(CPUMIPSState *env, target_ulong addr, uint32_t op) in helper_cache()
|
| /openbmc/qemu/target/ppc/ |
| H A D | cpu_init.c | 58 static inline void vscr_init(CPUPPCState *env, uint32_t val) in vscr_init() 65 static void register_745_sprs(CPUPPCState *env) in register_745_sprs() 102 static void register_755_sprs(CPUPPCState *env) in register_755_sprs() 117 static void register_7xx_sprs(CPUPPCState *env) in register_7xx_sprs() 223 static void register_amr_sprs(CPUPPCState *env) in register_amr_sprs() 255 static void register_iamr_sprs(CPUPPCState *env) in register_iamr_sprs() 268 static void register_604_sprs(CPUPPCState *env) in register_604_sprs() 323 static void register_604e_sprs(CPUPPCState *env) in register_604e_sprs() 347 static void register_603_sprs(CPUPPCState *env) in register_603_sprs() 371 static void register_e300_sprs(CPUPPCState *env) in register_e300_sprs() [all …]
|
| H A D | timebase_helper.c | 29 target_ulong helper_load_tbl(CPUPPCState *env) in helper_load_tbl() 34 target_ulong helper_load_tbu(CPUPPCState *env) in helper_load_tbu() 39 target_ulong helper_load_atbl(CPUPPCState *env) in helper_load_atbl() 44 target_ulong helper_load_atbu(CPUPPCState *env) in helper_load_atbu() 49 target_ulong helper_load_vtb(CPUPPCState *env) in helper_load_vtb() 55 target_ulong helper_load_purr(CPUPPCState *env) in helper_load_purr() 60 void helper_store_purr(CPUPPCState *env, target_ulong val) in helper_store_purr() 78 void helper_store_tbl(CPUPPCState *env, target_ulong val) in helper_store_tbl() 94 void helper_store_tbu(CPUPPCState *env, target_ulong val) in helper_store_tbu() 110 void helper_store_atbl(CPUPPCState *env, target_ulong val) in helper_store_atbl() [all …]
|
| H A D | helper_regs.c | 34 void hreg_swap_gpr_tgpr(CPUPPCState *env) in hreg_swap_gpr_tgpr() 53 static bool hreg_check_bhrb_enable(CPUPPCState *env) in hreg_check_bhrb_enable() 85 static uint32_t hreg_compute_pmu_hflags_value(CPUPPCState *env) in hreg_compute_pmu_hflags_value() 118 static uint32_t hreg_compute_pmu_hflags_mask(CPUPPCState *env) in hreg_compute_pmu_hflags_mask() 132 static uint32_t hreg_compute_hflags_value(CPUPPCState *env) in hreg_compute_hflags_value() 244 void hreg_compute_hflags(CPUPPCState *env) in hreg_compute_hflags() 254 void hreg_update_pmu_hflags(CPUPPCState *env) in hreg_update_pmu_hflags() 262 CPUPPCState *env = cpu_env(cs); in ppc_get_tb_cpu_state() local 289 int hreg_store_msr(CPUPPCState *env, target_ulong value, int alter_hv) in hreg_store_msr() 356 void store_40x_sler(CPUPPCState *env, uint32_t val) in store_40x_sler() [all …]
|
| H A D | power8-pmu.c | 24 static bool pmc_has_overflow_enabled(CPUPPCState *env, int sprn) in pmc_has_overflow_enabled() 37 static void pmu_update_summaries(CPUPPCState *env) in pmu_update_summaries() 84 static void hreg_bhrb_filter_update(CPUPPCState *env) in hreg_bhrb_filter_update() 115 void pmu_mmcr01a_updated(CPUPPCState *env) in pmu_mmcr01a_updated() 136 static bool pmu_increment_insns(CPUPPCState *env, uint32_t num_insns) in pmu_increment_insns() 200 static void pmu_update_cycles(CPUPPCState *env) in pmu_update_cycles() 224 static QEMUTimer *get_cyc_overflow_timer(CPUPPCState *env, int sprn) in get_cyc_overflow_timer() 229 static void pmc_update_overflow_timer(CPUPPCState *env, int sprn) in pmc_update_overflow_timer() 262 static void pmu_update_overflow_timers(CPUPPCState *env) in pmu_update_overflow_timers() 275 static void pmu_delete_timers(CPUPPCState *env) in pmu_delete_timers() [all …]
|
| H A D | cpu.c | 31 target_ulong cpu_read_xer(const CPUPPCState *env) in cpu_read_xer() 43 void cpu_write_xer(CPUPPCState *env, target_ulong xer) in cpu_write_xer() 56 void ppc_store_vscr(CPUPPCState *env, uint32_t vscr) in ppc_store_vscr() 66 uint32_t ppc_get_vscr(CPUPPCState *env) in ppc_get_vscr() 72 void ppc_set_cr(CPUPPCState *env, uint64_t cr) in ppc_set_cr() 80 uint64_t ppc_get_cr(const CPUPPCState *env) in ppc_get_cr() 90 void ppc_store_msr(CPUPPCState *env, target_ulong value) in ppc_store_msr() 99 CPUPPCState *env = &cpu->env; in ppc_store_lpcr() local 109 void ppc_update_ciabr(CPUPPCState *env) in ppc_update_ciabr() 128 void ppc_store_ciabr(CPUPPCState *env, target_ulong val) in ppc_store_ciabr() [all …]
|
| H A D | misc_helper.c | 34 void helper_load_dump_spr(CPUPPCState *env, uint32_t sprn) in helper_load_dump_spr() 40 void helper_store_dump_spr(CPUPPCState *env, uint32_t sprn) in helper_store_dump_spr() 46 void helper_spr_core_write_generic(CPUPPCState *env, uint32_t sprn, in helper_spr_core_write_generic() 63 void helper_spr_write_CTRL(CPUPPCState *env, uint32_t sprn, in helper_spr_write_CTRL() 89 static void raise_hv_fu_exception(CPUPPCState *env, uint32_t bit, in raise_hv_fu_exception() 101 static void raise_fu_exception(CPUPPCState *env, uint32_t bit, in raise_fu_exception() 115 void helper_hfscr_facility_check(CPUPPCState *env, uint32_t bit, in helper_hfscr_facility_check() 126 void helper_fscr_facility_check(CPUPPCState *env, uint32_t bit, in helper_fscr_facility_check() 138 void helper_msr_facility_check(CPUPPCState *env, uint32_t bit, in helper_msr_facility_check() 153 static void helper_mmcr0_facility_check(CPUPPCState *env, uint32_t bit, in helper_mmcr0_facility_check() [all …]
|
| /openbmc/qemu/target/riscv/ |
| H A D | fpu_helper.c | 26 target_ulong riscv_cpu_get_fflags(CPURISCVState *env) in riscv_cpu_get_fflags() 40 void riscv_cpu_set_fflags(CPURISCVState *env, target_ulong hard) in riscv_cpu_set_fflags() 53 void helper_set_rounding_mode(CPURISCVState *env, uint32_t rm) in helper_set_rounding_mode() 83 void helper_set_rounding_mode_chkfrm(CPURISCVState *env, uint32_t rm) in helper_set_rounding_mode_chkfrm() 120 static uint64_t do_fmadd_h(CPURISCVState *env, uint64_t rs1, uint64_t rs2, in do_fmadd_h() 130 static uint64_t do_fmadd_s(CPURISCVState *env, uint64_t rs1, uint64_t rs2, in do_fmadd_s() 140 uint64_t helper_fmadd_s(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmadd_s() 146 uint64_t helper_fmadd_d(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmadd_d() 152 uint64_t helper_fmadd_h(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmadd_h() 158 uint64_t helper_fmsub_s(CPURISCVState *env, uint64_t frs1, uint64_t frs2, in helper_fmsub_s() [all …]
|
| H A D | csr.c | 50 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() 191 static RISCVException cfi_ss(CPURISCVState *env, int csrno) in cfi_ss() 218 static RISCVException mctr(CPURISCVState *env, int csrno) in mctr() 241 static RISCVException mctr32(CPURISCVState *env, int csrno) in mctr32() 250 static RISCVException sscofpmf(CPURISCVState *env, int csrno) in sscofpmf() [all …]
|
| H A D | debug.c | 78 static inline target_ulong extract_trigger_type(CPURISCVState *env, in extract_trigger_type() 92 static inline target_ulong get_trigger_type(CPURISCVState *env, in get_trigger_type() 98 static trigger_action_t get_trigger_action(CPURISCVState *env, in get_trigger_action() 131 static inline target_ulong build_tdata1(CPURISCVState *env, in build_tdata1() 156 bool tdata_available(CPURISCVState *env, int tdata_index) in tdata_available() 167 target_ulong tselect_csr_read(CPURISCVState *env) in tselect_csr_read() 172 void tselect_csr_write(CPURISCVState *env, target_ulong val) in tselect_csr_write() 179 static target_ulong tdata1_validate(CPURISCVState *env, target_ulong val, in tdata1_validate() 221 static target_ulong textra_validate(CPURISCVState *env, target_ulong tdata3) in textra_validate() 281 static void do_trigger_action(CPURISCVState *env, target_ulong trigger_index) in do_trigger_action() [all …]
|
| /openbmc/qemu/linux-user/xtensa/ |
| H A D | cpu_loop.c | 26 static void xtensa_rfw(CPUXtensaState *env) in xtensa_rfw() 32 static void xtensa_rfwu(CPUXtensaState *env) in xtensa_rfwu() 38 static void xtensa_rfwo(CPUXtensaState *env) in xtensa_rfwo() 44 static void xtensa_overflow4(CPUXtensaState *env) in xtensa_overflow4() 53 static void xtensa_underflow4(CPUXtensaState *env) in xtensa_underflow4() 62 static void xtensa_overflow8(CPUXtensaState *env) in xtensa_overflow8() 76 static void xtensa_underflow8(CPUXtensaState *env) in xtensa_underflow8() 90 static void xtensa_overflow12(CPUXtensaState *env) in xtensa_overflow12() 108 static void xtensa_underflow12(CPUXtensaState *env) in xtensa_underflow12() 126 void cpu_loop(CPUXtensaState *env) in cpu_loop() [all …]
|
| /openbmc/qemu/target/sh4/ |
| H A D | op_helper.c | 48 void helper_ldtlb(CPUSH4State *env) in helper_ldtlb() 58 void raise_exception(CPUSH4State *env, int index, in raise_exception() 67 void helper_raise_illegal_instruction(CPUSH4State *env) in helper_raise_illegal_instruction() 72 void helper_raise_slot_illegal_instruction(CPUSH4State *env) in helper_raise_slot_illegal_instruction() 77 void helper_raise_fpu_disable(CPUSH4State *env) in helper_raise_fpu_disable() 82 void helper_raise_slot_fpu_disable(CPUSH4State *env) in helper_raise_slot_fpu_disable() 87 void helper_sleep(CPUSH4State *env) in helper_sleep() 96 void helper_trapa(CPUSH4State *env, uint32_t tra) in helper_trapa() 102 void helper_exclusive(CPUSH4State *env) in helper_exclusive() 108 void helper_movcal(CPUSH4State *env, uint32_t address, uint32_t value) in helper_movcal() [all …]
|
| /openbmc/qemu/target/rx/ |
| H A D | op_helper.c | 31 static void _set_psw(CPURXState *env, uint32_t psw, uint32_t rte) in _set_psw() 48 void helper_set_psw(CPURXState *env, uint32_t psw) in helper_set_psw() 53 void helper_set_psw_rte(CPURXState *env, uint32_t psw) in helper_set_psw_rte() 58 uint32_t helper_pack_psw(CPURXState *env) in helper_pack_psw() 72 static void update_fpsw(CPURXState *env, float32 ret, uintptr_t retaddr) in update_fpsw() 122 void helper_set_fpsw(CPURXState *env, uint32_t val) in helper_set_fpsw() 174 uint32_t helper_ftoi(CPURXState *env, float32 t0) in helper_ftoi() 182 uint32_t helper_round(CPURXState *env, float32 t0) in helper_round() 190 float32 helper_itof(CPURXState *env, uint32_t t0) in helper_itof() 199 void helper_scmpu(CPURXState *env) in helper_scmpu() [all …]
|
| /openbmc/qemu/target/loongarch/tcg/ |
| H A D | fpu_helper.c | 28 void restore_fp_status(CPULoongArchState *env) in restore_fp_status() 65 static void update_fcsr0_mask(CPULoongArchState *env, uintptr_t pc, int mask) in update_fcsr0_mask() 88 static void update_fcsr0(CPULoongArchState *env, uintptr_t pc) in update_fcsr0() 93 uint64_t helper_fadd_s(CPULoongArchState *env, uint64_t fj, uint64_t fk) in helper_fadd_s() 102 uint64_t helper_fadd_d(CPULoongArchState *env, uint64_t fj, uint64_t fk) in helper_fadd_d() 111 uint64_t helper_fsub_s(CPULoongArchState *env, uint64_t fj, uint64_t fk) in helper_fsub_s() 120 uint64_t helper_fsub_d(CPULoongArchState *env, uint64_t fj, uint64_t fk) in helper_fsub_d() 129 uint64_t helper_fmul_s(CPULoongArchState *env, uint64_t fj, uint64_t fk) in helper_fmul_s() 138 uint64_t helper_fmul_d(CPULoongArchState *env, uint64_t fj, uint64_t fk) in helper_fmul_d() 147 uint64_t helper_fdiv_s(CPULoongArchState *env, uint64_t fj, uint64_t fk) in helper_fdiv_s() [all …]
|
| /openbmc/qemu/target/i386/emulate/ |
| H A D | x86_emu.c | 45 #define EXEC_2OP_FLAGS_CMD(env, decode, cmd, FLAGS_FUNC, save_res) \ argument 87 target_ulong read_reg(CPUX86State *env, int reg, int size) in read_reg() 104 void write_reg(CPUX86State *env, int reg, target_ulong val, int size) in write_reg() 167 static void write_val_to_mem(CPUX86State *env, target_ulong ptr, target_ulong val, int size) in write_val_to_mem() 172 void write_val_ext(CPUX86State *env, struct x86_decode_op *decode, target_ulong val, int size) in write_val_ext() 181 uint8_t *read_mmio(CPUX86State *env, target_ulong ptr, int bytes) in read_mmio() 188 static target_ulong read_val_from_mem(CPUX86State *env, target_long ptr, int size) in read_val_from_mem() 214 target_ulong read_val_ext(CPUX86State *env, struct x86_decode_op *decode, int size) in read_val_ext() 223 static void fetch_operands(CPUX86State *env, struct x86_decode *decode, in fetch_operands() 262 static void exec_mov(CPUX86State *env, struct x86_decode *decode) in exec_mov() [all …]
|
| H A D | x86_decode.c | 27 static void decode_invalid(CPUX86State *env, struct x86_decode *decode) in decode_invalid() 59 static inline uint64_t decode_bytes(CPUX86State *env, struct x86_decode *decode, in decode_bytes() 81 static inline uint8_t decode_byte(CPUX86State *env, struct x86_decode *decode) in decode_byte() 86 static inline uint16_t decode_word(CPUX86State *env, struct x86_decode *decode) in decode_word() 91 static inline uint32_t decode_dword(CPUX86State *env, struct x86_decode *decode) in decode_dword() 96 static inline uint64_t decode_qword(CPUX86State *env, struct x86_decode *decode) in decode_qword() 101 static void decode_modrm_rm(CPUX86State *env, struct x86_decode *decode, in decode_modrm_rm() 107 static void decode_modrm_reg(CPUX86State *env, struct x86_decode *decode, in decode_modrm_reg() 116 static void decode_rax(CPUX86State *env, struct x86_decode *decode, in decode_rax() 126 static inline void decode_immediate(CPUX86State *env, struct x86_decode *decode, in decode_immediate() [all …]
|
| /openbmc/qemu/target/mips/tcg/ |
| H A D | vr54xx_helper.c | 27 static inline uint64_t get_HILO(CPUMIPSState *env) in get_HILO() 33 static inline target_ulong set_HIT0_LO(CPUMIPSState *env, uint64_t HILO) in set_HIT0_LO() 39 static inline target_ulong set_HI_LOT0(CPUMIPSState *env, uint64_t HILO) in set_HI_LOT0() 47 target_ulong helper_muls(CPUMIPSState *env, target_ulong arg1, in helper_muls() 54 target_ulong helper_mulsu(CPUMIPSState *env, target_ulong arg1, in helper_mulsu() 61 target_ulong helper_macc(CPUMIPSState *env, target_ulong arg1, in helper_macc() 68 target_ulong helper_macchi(CPUMIPSState *env, target_ulong arg1, in helper_macchi() 75 target_ulong helper_maccu(CPUMIPSState *env, target_ulong arg1, in helper_maccu() 82 target_ulong helper_macchiu(CPUMIPSState *env, target_ulong arg1, in helper_macchiu() 89 target_ulong helper_msac(CPUMIPSState *env, target_ulong arg1, in helper_msac() [all …]
|
| H A D | fpu_helper.c | 39 target_ulong helper_cfc1(CPUMIPSState *env, uint32_t reg) in helper_cfc1() 87 void helper_ctc1(CPUMIPSState *env, target_ulong arg1, uint32_t fs, uint32_t rt) in helper_ctc1() 202 static inline void update_fcr31(CPUMIPSState *env, uintptr_t pc) in update_fcr31() 233 uint64_t helper_float_sqrt_d(CPUMIPSState *env, uint64_t fdt0) in helper_float_sqrt_d() 240 uint32_t helper_float_sqrt_s(CPUMIPSState *env, uint32_t fst0) in helper_float_sqrt_s() 247 uint64_t helper_float_cvtd_s(CPUMIPSState *env, uint32_t fst0) in helper_float_cvtd_s() 256 uint64_t helper_float_cvtd_w(CPUMIPSState *env, uint32_t wt0) in helper_float_cvtd_w() 265 uint64_t helper_float_cvtd_l(CPUMIPSState *env, uint64_t dt0) in helper_float_cvtd_l() 274 uint64_t helper_float_cvt_l_d(CPUMIPSState *env, uint64_t fdt0) in helper_float_cvt_l_d() 287 uint64_t helper_float_cvt_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_cvt_l_s() [all …]
|
| /openbmc/qemu/target/arm/ |
| H A D | helper.c | 43 uint64_t raw_read(CPUARMState *env, const ARMCPRegInfo *ri) in raw_read() 53 void raw_write(CPUARMState *env, const ARMCPRegInfo *ri, uint64_t value) in raw_write() 63 static void *raw_ptr(CPUARMState *env, const ARMCPRegInfo *ri) in raw_ptr() 68 uint64_t read_raw_cp_reg(CPUARMState *env, const ARMCPRegInfo *ri) in read_raw_cp_reg() 82 static void write_raw_cp_reg(CPUARMState *env, const ARMCPRegInfo *ri, in write_raw_cp_reg() 271 bool arm_pan_enabled(CPUARMState *env) in arm_pan_enabled() 286 static CPAccessResult access_el3_aa32ns(CPUARMState *env, in access_el3_aa32ns() 303 static CPAccessResult access_trap_aa32s_el1(CPUARMState *env, in access_trap_aa32s_el1() 321 CPAccessResult access_tvm_trvm(CPUARMState *env, const ARMCPRegInfo *ri, in access_tvm_trvm() 334 static CPAccessResult access_tsw(CPUARMState *env, const ARMCPRegInfo *ri, in access_tsw() [all …]
|
| H A D | cpregs-pmu.c | 22 static CPAccessResult access_tpm(CPUARMState *env, const ARMCPRegInfo *ri, in access_tpm() 55 static bool event_always_supported(CPUARMState *env) in event_always_supported() 60 static uint64_t swinc_get_count(CPUARMState *env) in swinc_get_count() 78 static uint64_t cycles_get_count(CPUARMState *env) in cycles_get_count() 94 static bool instructions_supported(CPUARMState *env) in instructions_supported() 100 static uint64_t instructions_get_count(CPUARMState *env) in instructions_get_count() 113 static bool pmuv3p1_events_supported(CPUARMState *env) in pmuv3p1_events_supported() 119 static bool pmuv3p4_events_supported(CPUARMState *env) in pmuv3p4_events_supported() 125 static uint64_t zero_event_get_count(CPUARMState *env) in zero_event_get_count() 231 static CPAccessResult do_pmreg_access(CPUARMState *env, bool is_pmcr) in do_pmreg_access() [all …]
|
| /openbmc/qemu/target/mips/system/ |
| H A D | cp0_timer.c | 30 static uint32_t cpu_mips_get_count_val(CPUMIPSState *env) in cpu_mips_get_count_val() 38 static void cpu_mips_timer_update(CPUMIPSState *env) in cpu_mips_timer_update() 54 static void cpu_mips_timer_expire(CPUMIPSState *env) in cpu_mips_timer_expire() 63 uint32_t cpu_mips_get_count(CPUMIPSState *env) in cpu_mips_get_count() 81 void cpu_mips_store_count(CPUMIPSState *env, uint32_t count) in cpu_mips_store_count() 99 void cpu_mips_store_compare(CPUMIPSState *env, uint32_t value) in cpu_mips_store_compare() 111 void cpu_mips_start_count(CPUMIPSState *env) in cpu_mips_start_count() 116 void cpu_mips_stop_count(CPUMIPSState *env) in cpu_mips_stop_count() 125 CPUMIPSState *env; in mips_timer_cb() local 138 CPUMIPSState *env = &cpu->env; in cpu_mips_clock_init() local
|
| /openbmc/qemu/target/i386/tcg/system/ |
| H A D | misc_helper.c | 31 void helper_outb(CPUX86State *env, uint32_t port, uint32_t data) in helper_outb() 37 target_ulong helper_inb(CPUX86State *env, uint32_t port) in helper_inb() 43 void helper_outw(CPUX86State *env, uint32_t port, uint32_t data) in helper_outw() 49 target_ulong helper_inw(CPUX86State *env, uint32_t port) in helper_inw() 55 void helper_outl(CPUX86State *env, uint32_t port, uint32_t data) in helper_outl() 61 target_ulong helper_inl(CPUX86State *env, uint32_t port) in helper_inl() 67 target_ulong helper_read_cr8(CPUX86State *env) in helper_read_cr8() 76 void helper_write_crN(CPUX86State *env, int reg, target_ulong t0) in helper_write_crN() 132 void helper_wrmsr(CPUX86State *env) in helper_wrmsr() 329 void helper_rdmsr(CPUX86State *env) in helper_rdmsr() [all …]
|