Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 774) sorted by relevance

12345678910>>...31

/openbmc/qemu/target/mips/tcg/sysemu/
H A Dcp0_helper.c38 CPUMIPSState *env = &c->env; in mips_vpe_is_wfi() local
50 CPUMIPSState *env = &c->env; in mips_vp_is_wfi() local
205 uint32_t cpu_mips_get_random(CPUMIPSState *env) in cpu_mips_get_random()
374 target_ulong helper_mfc0_saar(CPUMIPSState *env) in helper_mfc0_saar()
419 target_ulong helper_mfc0_maar(CPUMIPSState *env) in helper_mfc0_maar()
1355 #define MTC0_MAAR_MASK(env) \ argument
1550 target_ulong helper_mftdsp(CPUMIPSState *env) in helper_mftdsp()
1635 target_ulong helper_dvpe(CPUMIPSState *env) in helper_dvpe()
1651 target_ulong helper_evpe(CPUMIPSState *env) in helper_evpe()
1671 target_ulong helper_dvp(CPUMIPSState *env) in helper_dvp()
[all …]
/openbmc/qemu/target/ppc/
H A Dtimebase_helper.c29 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()
67 void helper_store_tbl(CPUPPCState *env, target_ulong val) in helper_store_tbl()
87 target_ulong helper_load_decr(CPUPPCState *env) in helper_load_decr()
97 target_ulong helper_load_hdecr(CPUPPCState *env) in helper_load_hdecr()
117 target_ulong helper_load_40x_pit(CPUPPCState *env) in helper_load_40x_pit()
[all …]
H A Dcpu_init.c64 static void register_745_sprs(CPUPPCState *env) in register_745_sprs()
101 static void register_755_sprs(CPUPPCState *env) in register_755_sprs()
6631 CPUPPCState *env = &cpu->env; in cpu_ppc_set_vhyp() local
6644 CPUPPCState *env = &cpu->env; in cpu_ppc_set_1lpar() local
6663 CPUPPCState *env = &cpu->env; in init_ppc_proc() local
6808 CPUPPCState *env = &cpu->env; in ppc_cpu_realize() local
7114 CPUPPCState *env = &cpu->env; in ppc_cpu_reset_hold() local
7200 CPUPPCState *env = &cpu->env; in ppc_cpu_is_big_endian() local
7247 CPUPPCState *env = &cpu->env; in ppc_cpu_instance_init() local
7292 CPUPPCState *env = &cpu->env; in ppc_disas_set_info() local
[all …]
H A Dhelper_regs.c32 void hreg_swap_gpr_tgpr(CPUPPCState *env) in hreg_swap_gpr_tgpr()
204 void hreg_compute_hflags(CPUPPCState *env) in hreg_compute_hflags()
214 void hreg_update_pmu_hflags(CPUPPCState *env) in hreg_update_pmu_hflags()
314 void store_40x_sler(CPUPPCState *env, uint32_t val) in store_40x_sler()
393 CPUPPCState *env = &cpu->env; in register_generic_sprs() local
481 void register_non_embedded_sprs(CPUPPCState *env) in register_non_embedded_sprs()
500 void register_sdr1_sprs(CPUPPCState *env) in register_sdr1_sprs()
523 void register_low_BATs(CPUPPCState *env) in register_low_BATs()
595 void register_high_BATs(CPUPPCState *env) in register_high_BATs()
705 void register_thrm_sprs(CPUPPCState *env) in register_thrm_sprs()
[all …]
H A Dexcp_helper.c291 CPUPPCState *env = &cpu->env; in ppc_excp_apply_ail() local
388 CPUPPCState *env = &cpu->env; in powerpc_reset_excp_state() local
398 CPUPPCState *env = &cpu->env; in powerpc_set_excp_state() local
449 CPUPPCState *env = &cpu->env; in powerpc_excp_40x() local
573 CPUPPCState *env = &cpu->env; in powerpc_excp_6xx() local
734 CPUPPCState *env = &cpu->env; in powerpc_excp_7xx() local
906 CPUPPCState *env = &cpu->env; in powerpc_excp_74xx() local
1070 CPUPPCState *env = &cpu->env; in powerpc_excp_booke() local
1313 CPUPPCState *env = &cpu->env; in is_prefix_insn_excp() local
1380 CPUPPCState *env = &cpu->env; in powerpc_excp_books() local
[all …]
H A Dpower8-pmu.c25 static bool pmc_has_overflow_enabled(CPUPPCState *env, int sprn) in pmc_has_overflow_enabled()
38 static void pmu_update_summaries(CPUPPCState *env) in pmu_update_summaries()
85 void pmu_mmcr01_updated(CPUPPCState *env) in pmu_mmcr01_updated()
168 static void pmu_update_cycles(CPUPPCState *env) in pmu_update_cycles()
230 static void pmu_update_overflow_timers(CPUPPCState *env) in pmu_update_overflow_timers()
243 static void pmu_delete_timers(CPUPPCState *env) in pmu_delete_timers()
269 void helper_store_mmcr1(CPUPPCState *env, uint64_t value) in helper_store_mmcr1()
296 CPUPPCState *env = &cpu->env; in perfm_alert() local
324 void helper_handle_pmc5_overflow(CPUPPCState *env) in helper_handle_pmc5_overflow()
331 void helper_insns_inc(CPUPPCState *env, uint32_t num_insns) in helper_insns_inc()
[all …]
H A Dcpu.c30 target_ulong cpu_read_xer(const CPUPPCState *env) in cpu_read_xer()
42 void cpu_write_xer(CPUPPCState *env, target_ulong xer) in cpu_write_xer()
55 void ppc_store_vscr(CPUPPCState *env, uint32_t vscr) in ppc_store_vscr()
65 uint32_t ppc_get_vscr(CPUPPCState *env) in ppc_get_vscr()
71 void ppc_set_cr(CPUPPCState *env, uint64_t cr) in ppc_set_cr()
79 uint64_t ppc_get_cr(const CPUPPCState *env) in ppc_get_cr()
89 void ppc_store_msr(CPUPPCState *env, target_ulong value) in ppc_store_msr()
98 CPUPPCState *env = &cpu->env; in ppc_store_lpcr() local
108 void ppc_update_ciabr(CPUPPCState *env) in ppc_update_ciabr()
133 void ppc_update_daw0(CPUPPCState *env) in ppc_update_daw0()
[all …]
/openbmc/qemu/target/sparc/
H A Dwin_helper.c54 target_ulong cpu_get_psr(CPUSPARCState *env) in cpu_get_psr()
135 void helper_rett(CPUSPARCState *env) in helper_rett()
154 void helper_save(CPUSPARCState *env) in helper_save()
165 void helper_restore(CPUSPARCState *env) in helper_restore()
196 void helper_save(CPUSPARCState *env) in helper_save()
218 void helper_restore(CPUSPARCState *env) in helper_restore()
235 void helper_flushw(CPUSPARCState *env) in helper_flushw()
245 void helper_saved(CPUSPARCState *env) in helper_saved()
255 void helper_restored(CPUSPARCState *env) in helper_restored()
432 void helper_done(CPUSPARCState *env) in helper_done()
[all …]
H A Dfop_helper.c135 float32 helper_fitos(CPUSPARCState *env, int32_t src) in helper_fitos()
145 void helper_fitoq(CPUSPARCState *env, int32_t src) in helper_fitoq()
161 void helper_fxtoq(CPUSPARCState *env, int64_t src) in helper_fxtoq()
179 float32 helper_fqtos(CPUSPARCState *env) in helper_fqtos()
184 void helper_fstoq(CPUSPARCState *env, float32 src) in helper_fstoq()
189 float64 helper_fqtod(CPUSPARCState *env) in helper_fqtod()
194 void helper_fdtoq(CPUSPARCState *env, float64 src) in helper_fdtoq()
210 int32_t helper_fqtoi(CPUSPARCState *env) in helper_fqtoi()
226 int64_t helper_fqtox(CPUSPARCState *env) in helper_fqtox()
243 void helper_fabsq(CPUSPARCState *env) in helper_fabsq()
[all …]
/openbmc/qemu/target/riscv/
H A Dfpu_helper.c27 target_ulong riscv_cpu_get_fflags(CPURISCVState *env) in riscv_cpu_get_fflags()
41 void riscv_cpu_set_fflags(CPURISCVState *env, target_ulong hard) in riscv_cpu_set_fflags()
54 void helper_set_rounding_mode(CPURISCVState *env, uint32_t rm) in helper_set_rounding_mode()
280 uint64_t helper_fsqrt_s(CPURISCVState *env, uint64_t rs1) in helper_fsqrt_s()
371 uint64_t helper_fround_s(CPURISCVState *env, uint64_t rs1) in helper_fround_s()
439 uint64_t helper_fcvt_s_d(CPURISCVState *env, uint64_t rs1) in helper_fcvt_s_d()
444 uint64_t helper_fcvt_d_s(CPURISCVState *env, uint64_t rs1) in helper_fcvt_d_s()
450 uint64_t helper_fsqrt_d(CPURISCVState *env, uint64_t frs1) in helper_fsqrt_d()
613 uint64_t helper_fsqrt_h(CPURISCVState *env, uint64_t rs1) in helper_fsqrt_h()
660 uint64_t helper_fround_h(CPURISCVState *env, uint64_t rs1) in helper_fround_h()
[all …]
H A Dcsr.c79 static RISCVException fs(CPURISCVState *env, int csrno) in fs()
94 static RISCVException vs(CPURISCVState *env, int csrno) in vs()
107 static RISCVException ctr(CPURISCVState *env, int csrno) in ctr()
227 static RISCVException any(CPURISCVState *env, int csrno) in any()
242 static int aia_any(CPURISCVState *env, int csrno) in aia_any()
251 static int aia_any32(CPURISCVState *env, int csrno) in aia_any32()
269 static int smode32(CPURISCVState *env, int csrno) in smode32()
278 static int aia_smode(CPURISCVState *env, int csrno) in aia_smode()
287 static int aia_smode32(CPURISCVState *env, int csrno) in aia_smode32()
496 static int aia_hmode(CPURISCVState *env, int csrno) in aia_hmode()
[all …]
H A Ddebug.c166 target_ulong tselect_csr_read(CPURISCVState *env) in tselect_csr_read()
503 itrigger_get_count(CPURISCVState *env, int index) in itrigger_get_count()
530 bool riscv_itrigger_enabled(CPURISCVState *env) in riscv_itrigger_enabled()
550 void helper_itrigger_match(CPURISCVState *env) in helper_itrigger_match()
623 void riscv_itrigger_update_priv(CPURISCVState *env) in riscv_itrigger_update_priv()
751 target_ulong tinfo_csr_read(CPURISCVState *env) in tinfo_csr_read()
761 CPURISCVState *env = &cpu->env; in riscv_cpu_debug_excp_handler() local
777 CPURISCVState *env = &cpu->env; in riscv_cpu_debug_check_breakpoint() local
836 CPURISCVState *env = &cpu->env; in riscv_cpu_debug_check_watchpoint() local
906 void riscv_trigger_realize(CPURISCVState *env) in riscv_trigger_realize()
[all …]
H A Dop_helper.c42 target_ulong helper_csrr(CPURISCVState *env, int csr) in helper_csrr()
72 target_ulong helper_csrrw(CPURISCVState *env, int csr, in helper_csrrw()
99 void helper_csrw_i128(CPURISCVState *env, int csr, in helper_csrw_i128()
203 static void check_zicbom_access(CPURISCVState *env, in check_zicbom_access()
264 target_ulong helper_sret(CPURISCVState *env) in helper_sret()
319 target_ulong helper_mret(CPURISCVState *env) in helper_mret()
363 void helper_wfi(CPURISCVState *env) in helper_wfi()
383 void helper_tlb_flush(CPURISCVState *env) in helper_tlb_flush()
398 void helper_tlb_flush_all(CPURISCVState *env) in helper_tlb_flush_all()
404 void helper_hyp_tlb_flush(CPURISCVState *env) in helper_hyp_tlb_flush()
[all …]
/openbmc/qemu/target/sh4/
H A Dop_helper.c32 CPUSH4State *env = cpu_env(cs); in superh_cpu_do_unaligned_access() local
51 void helper_ldtlb(CPUSH4State *env) in helper_ldtlb()
61 void raise_exception(CPUSH4State *env, int index, in raise_exception()
80 void helper_raise_fpu_disable(CPUSH4State *env) in helper_raise_fpu_disable()
85 void helper_raise_slot_fpu_disable(CPUSH4State *env) in helper_raise_slot_fpu_disable()
90 void helper_sleep(CPUSH4State *env) in helper_sleep()
99 void helper_trapa(CPUSH4State *env, uint32_t tra) in helper_trapa()
105 void helper_exclusive(CPUSH4State *env) in helper_exclusive()
126 void helper_discard_movcal_backup(CPUSH4State *env) in helper_discard_movcal_backup()
140 void helper_ocbi(CPUSH4State *env, uint32_t address) in helper_ocbi()
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_emu.c93 target_ulong read_reg(CPUX86State *env, int reg, int size) in read_reg()
173 static bool is_host_reg(CPUX86State *env, target_ulong ptr) in is_host_reg()
666 void simulate_rdmsr(CPUX86State *env) in simulate_rdmsr()
767 void simulate_wrmsr(CPUX86State *env) in simulate_wrmsr()
936 void exec_shl(CPUX86State *env, struct x86_decode *decode) in exec_shl()
1023 void exec_ror(CPUX86State *env, struct x86_decode *decode) in exec_ror()
1101 void exec_rol(CPUX86State *env, struct x86_decode *decode) in exec_rol()
1183 void exec_rcl(CPUX86State *env, struct x86_decode *decode) in exec_rcl()
1268 void exec_rcr(CPUX86State *env, struct x86_decode *decode) in exec_rcr()
1423 CPUX86State *env = &cpu->env; in load_regs() local
[all …]
H A Dx86_decode.c29 static void decode_invalid(CPUX86State *env, struct x86_decode *decode) in decode_invalid()
118 static void decode_rax(CPUX86State *env, struct x86_decode *decode, in decode_rax()
151 static void decode_imm8(CPUX86State *env, struct x86_decode *decode, in decode_imm8()
166 static void decode_imm16(CPUX86State *env, struct x86_decode *decode, in decode_imm16()
174 static void decode_imm(CPUX86State *env, struct x86_decode *decode, in decode_imm()
194 static void decode_imm_1(CPUX86State *env, struct x86_decode *decode, in decode_imm_1()
201 static void decode_imm_0(CPUX86State *env, struct x86_decode *decode, in decode_imm_0()
304 static void decode_jxx(CPUX86State *env, struct x86_decode *decode) in decode_jxx()
411 static void decode_rcx(CPUX86State *env, struct x86_decode *decode, in decode_rcx()
593 static void decode_decode_x87_modrm_st0(CPUX86State *env, in decode_decode_x87_modrm_st0()
[all …]
/openbmc/qemu/target/loongarch/
H A Dfpu_helper.c29 void restore_fp_status(CPULoongArchState *env) in restore_fp_status()
80 static void update_fcsr0(CPULoongArchState *env, uintptr_t pc) in update_fcsr0()
257 uint64_t helper_fsqrt_s(CPULoongArchState *env, uint64_t fj) in helper_fsqrt_s()
266 uint64_t helper_fsqrt_d(CPULoongArchState *env, uint64_t fj) in helper_fsqrt_d()
275 uint64_t helper_frecip_s(CPULoongArchState *env, uint64_t fj) in helper_frecip_s()
284 uint64_t helper_frecip_d(CPULoongArchState *env, uint64_t fj) in helper_frecip_d()
293 uint64_t helper_frsqrt_s(CPULoongArchState *env, uint64_t fj) in helper_frsqrt_s()
304 uint64_t helper_frsqrt_d(CPULoongArchState *env, uint64_t fj) in helper_frsqrt_d()
314 uint64_t helper_flogb_s(CPULoongArchState *env, uint64_t fj) in helper_flogb_s()
329 uint64_t helper_flogb_d(CPULoongArchState *env, uint64_t fj) in helper_flogb_d()
[all …]
/openbmc/qemu/target/rx/
H A Dop_helper.c49 void helper_set_psw(CPURXState *env, uint32_t psw) in helper_set_psw()
59 uint32_t helper_pack_psw(CPURXState *env) in helper_pack_psw()
200 void helper_scmpu(CPURXState *env) in helper_scmpu()
237 void helper_sstr(CPURXState *env, uint32_t sz) in helper_sstr()
269 void helper_smovu(CPURXState *env) in helper_smovu()
274 void helper_smovf(CPURXState *env) in helper_smovf()
279 void helper_smovb(CPURXState *env) in helper_smovb()
324 void helper_rmpa(CPURXState *env, uint32_t sz) in helper_rmpa()
382 void helper_satr(CPURXState *env) in helper_satr()
448 G_NORETURN void helper_wait(CPURXState *env) in helper_wait()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dfpu_helper.c1216 uint64_t helper_float_add_d(CPUMIPSState *env, in helper_float_add_d()
1226 uint32_t helper_float_add_s(CPUMIPSState *env, in helper_float_add_s()
1236 uint64_t helper_float_add_ps(CPUMIPSState *env, in helper_float_add_ps()
1252 uint64_t helper_float_sub_d(CPUMIPSState *env, in helper_float_sub_d()
1262 uint32_t helper_float_sub_s(CPUMIPSState *env, in helper_float_sub_s()
1272 uint64_t helper_float_sub_ps(CPUMIPSState *env, in helper_float_sub_ps()
1288 uint64_t helper_float_mul_d(CPUMIPSState *env, in helper_float_mul_d()
1298 uint32_t helper_float_mul_s(CPUMIPSState *env, in helper_float_mul_s()
1308 uint64_t helper_float_mul_ps(CPUMIPSState *env, in helper_float_mul_ps()
1324 uint64_t helper_float_div_d(CPUMIPSState *env, in helper_float_div_d()
[all …]
H A Dvr54xx_helper.c27 static inline uint64_t get_HILO(CPUMIPSState *env) in get_HILO()
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()
96 target_ulong helper_msachi(CPUMIPSState *env, target_ulong arg1, in helper_msachi()
103 target_ulong helper_msacu(CPUMIPSState *env, target_ulong arg1, in helper_msacu()
[all …]
/openbmc/qemu/target/arm/
H A Dhelper.c1421 void pmu_op_start(CPUARMState *env) in pmu_op_start()
1430 void pmu_op_finish(CPUARMState *env) in pmu_op_finish()
2607 CPUARMState *env = &cpu->env; in gt_update_irq() local
8191 CPUARMState *env = &cpu->env; in register_cp_regs_for_features() local
9505 CPUARMState *env = &cpu->env; in add_cpreg_to_hashtable() local
10318 CPUARMState *env = cpu_env(cs); in arm_phys_excp_target_el() local
10722 CPUARMState *env = &cpu->env; in arm_cpu_do_interrupt_aarch32_hyp() local
10801 CPUARMState *env = &cpu->env; in arm_cpu_do_interrupt_aarch32() local
11096 CPUARMState *env = &cpu->env; in arm_cpu_do_interrupt_aarch64() local
11304 CPUARMState *env = &cpu->env; in tcg_handle_semihosting() local
[all …]
/openbmc/linux/tools/perf/util/
H A Denv.c23 void perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info()
151 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
195 void perf_env__exit(struct perf_env *env) in perf_env__exit()
246 void perf_env__init(struct perf_env *env) in perf_env__init()
269 int perf_env__kernel_is_64_bit(struct perf_env *env) in perf_env__kernel_is_64_bit()
370 int perf_env__read_cpuid(struct perf_env *env) in perf_env__read_cpuid()
385 static int perf_env__read_arch(struct perf_env *env) in perf_env__read_arch()
411 int perf_env__nr_cpus_avail(struct perf_env *env) in perf_env__nr_cpus_avail()
455 const char *perf_env__arch(struct perf_env *env) in perf_env__arch()
470 const char *perf_env__cpuid(struct perf_env *env) in perf_env__cpuid()
[all …]
/openbmc/qemu/target/i386/tcg/
H A Dfpu_helper.c396 void helper_fpush(CPUX86State *env) in helper_fpush()
401 void helper_fpop(CPUX86State *env) in helper_fpop()
406 void helper_fdecstp(CPUX86State *env) in helper_fdecstp()
412 void helper_fincstp(CPUX86State *env) in helper_fincstp()
731 void helper_fclex(CPUX86State *env) in helper_fclex()
736 void helper_fwait(CPUX86State *env) in helper_fwait()
762 void helper_fninit(CPUX86State *env) in helper_fninit()
1062 void helper_f2xm1(CPUX86State *env) in helper_f2xm1()
1223 void helper_fptan(CPUX86State *env) in helper_fptan()
2305 void helper_fsin(CPUX86State *env) in helper_fsin()
[all …]
/openbmc/qemu/linux-user/xtensa/
H A Dcpu_loop.c26 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/i386/tcg/sysemu/
H A Dmisc_helper.c29 void helper_outb(CPUX86State *env, uint32_t port, uint32_t data) in helper_outb()
35 target_ulong helper_inb(CPUX86State *env, uint32_t port) in helper_inb()
41 void helper_outw(CPUX86State *env, uint32_t port, uint32_t data) in helper_outw()
47 target_ulong helper_inw(CPUX86State *env, uint32_t port) in helper_inw()
59 target_ulong helper_inl(CPUX86State *env, uint32_t port) in helper_inl()
65 target_ulong helper_read_crN(CPUX86State *env, int reg) in helper_read_crN()
140 void helper_wrmsr(CPUX86State *env) in helper_wrmsr()
314 void helper_rdmsr(CPUX86State *env) in helper_rdmsr()
477 void helper_flush_page(CPUX86State *env, target_ulong addr) in helper_flush_page()
483 void do_hlt(CPUX86State *env) in do_hlt()
[all …]

12345678910>>...31