Home
last modified time | relevance | path

Searched refs:target_ulong (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/openbmc/qemu/target/mips/tcg/
H A Dvr54xx_helper.c47 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()
117 target_ulong helper_mulhi(CPUMIPSState *env, target_ulong arg1, in helper_mulhi()
[all …]
H A Dldst_helper.c34 target_ulong helper_##name(CPUMIPSState *env, target_ulong arg, int mem_idx) \
75 void helper_swl(CPUMIPSState *env, target_ulong arg1, target_ulong arg2, in helper_swl()
99 void helper_swr(CPUMIPSState *env, target_ulong arg1, target_ulong arg2, in helper_swr()
129 void helper_sdl(CPUMIPSState *env, target_ulong arg1, target_ulong arg2, in helper_sdl()
173 void helper_sdr(CPUMIPSState *env, target_ulong arg1, target_ulong arg2, in helper_sdr()
220 void helper_lwm(CPUMIPSState *env, target_ulong addr, target_ulong reglist, in helper_lwm()
227 target_ulong i; in helper_lwm()
242 void helper_swm(CPUMIPSState *env, target_ulong addr, target_ulong reglist, in helper_swm()
249 target_ulong i; in helper_swm()
264 void helper_ldm(CPUMIPSState *env, target_ulong addr, target_ulong reglist, in helper_ldm()
[all …]
H A Dop_helper.c29 static inline target_ulong bitswap(target_ulong v) in bitswap()
41 target_ulong helper_dbitswap(target_ulong rt) in helper_dbitswap()
47 target_ulong helper_bitswap(target_ulong rt) in helper_bitswap()
52 target_ulong helper_rotx(target_ulong rs, uint32_t shift, uint32_t shiftx, in helper_rotx()
146 void helper_fork(target_ulong arg1, target_ulong arg2) in helper_fork()
154 target_ulong helper_yield(CPUMIPSState *env, target_ulong arg) in helper_yield()
193 target_ulong helper_rdhwr_cpunum(CPUMIPSState *env) in helper_rdhwr_cpunum()
205 target_ulong helper_rdhwr_cc(CPUMIPSState *env) in helper_rdhwr_cc()
215 target_ulong helper_rdhwr_ccres(CPUMIPSState *env) in helper_rdhwr_ccres()
227 target_ulong helper_rdhwr_xnp(CPUMIPSState *env) in helper_rdhwr_xnp()
[all …]
H A Ddsp_helper.c1312 target_ulong helper_modsub(target_ulong rs, target_ulong rt) in helper_modsub()
1405 target_ulong helper_precrq_ph_w(target_ulong rs, target_ulong rt) in helper_precrq_ph_w()
1427 target_ulong helper_precr_ob_qh(target_ulong rs, target_ulong rt) in helper_precr_ob_qh()
1542 target_ulong helper_precrq_pw_l(target_ulong rs, target_ulong rt) in helper_precrq_pw_l()
1981 target_ulong helper_##name(target_ulong rs, target_ulong rt, \
2019 target_ulong helper_##name(target_ulong rs, target_ulong rt, \
2113 target_ulong helper_##name(target_ulong rs, target_ulong rt, \
2955 target_ulong helper_##name(target_ulong rs, target_ulong rt) \
3097 target_ulong helper_packrl_ph(target_ulong rs, target_ulong rt) in helper_packrl_ph()
3108 target_ulong helper_packrl_pw(target_ulong rs, target_ulong rt) in helper_packrl_pw()
[all …]
/openbmc/qemu/target/riscv/
H A Dcrypto_helper.c57 target_ulong HELPER(aes32esmi)(target_ulong rs1, target_ulong rs2, in HELPER()
63 target_ulong HELPER(aes32esi)(target_ulong rs1, target_ulong rs2, in HELPER()
69 target_ulong HELPER(aes32dsmi)(target_ulong rs1, target_ulong rs2, in HELPER()
75 target_ulong HELPER(aes32dsi)(target_ulong rs1, target_ulong rs2, in HELPER()
83 target_ulong HELPER(aes64esm)(target_ulong rs1, target_ulong rs2) in HELPER()
93 target_ulong HELPER(aes64es)(target_ulong rs1, target_ulong rs2) in HELPER()
103 target_ulong HELPER(aes64ds)(target_ulong rs1, target_ulong rs2) in HELPER()
113 target_ulong HELPER(aes64dsm)(target_ulong rs1, target_ulong rs2) in HELPER()
127 target_ulong HELPER(aes64ks2)(target_ulong rs1, target_ulong rs2) in HELPER()
174 target_ulong HELPER(sm4ed)(target_ulong rs1, target_ulong rs2, in HELPER()
[all …]
H A Dcpu.h198 target_ulong vxrm;
200 target_ulong vl;
205 target_ulong pc;
211 target_ulong frm;
215 target_ulong bins;
231 target_ulong jvt;
238 target_ulong priv;
283 target_ulong sepc;
287 target_ulong mepc;
431 target_ulong *val, target_ulong new_val, target_ulong write_mask);
[all …]
H A Dbitmanip_helper.c27 target_ulong HELPER(clmul)(target_ulong rs1, target_ulong rs2) in HELPER()
40 target_ulong HELPER(clmulr)(target_ulong rs1, target_ulong rs2) in HELPER()
53 static inline target_ulong do_swap(target_ulong x, uint64_t mask, int shift) in do_swap()
58 target_ulong HELPER(brev8)(target_ulong rs1) in HELPER()
75 static inline target_ulong do_shuf_stage(target_ulong src, uint64_t maskL, in do_shuf_stage()
84 target_ulong HELPER(unzip)(target_ulong rs1) in HELPER()
95 target_ulong HELPER(zip)(target_ulong rs1) in HELPER()
106 static inline target_ulong do_xperm(target_ulong rs1, target_ulong rs2, in do_xperm()
112 target_ulong pos; in do_xperm()
123 target_ulong HELPER(xperm4)(target_ulong rs1, target_ulong rs2) in HELPER()
[all …]
H A Dm128_helper.c26 target_ulong ul, target_ulong uh, in HELPER()
27 target_ulong vl, target_ulong vh) in HELPER()
29 target_ulong ql, qh; in HELPER()
46 target_ulong ul, target_ulong uh, in HELPER()
47 target_ulong vl, target_ulong vh) in HELPER()
49 target_ulong rl, rh; in HELPER()
66 target_ulong ul, target_ulong uh, in HELPER()
67 target_ulong vl, target_ulong vh) in HELPER()
69 target_ulong qh, ql; in HELPER()
91 target_ulong ul, target_ulong uh, in HELPER()
[all …]
H A Dop_helper.c64 target_ulong mask = env->xl == MXL_RV32 ? UINT32_MAX : (target_ulong)-1; in helper_csrw()
73 target_ulong src, target_ulong write_mask) in helper_csrrw()
98 target_ulong srcl, target_ulong srch) in helper_csrw_i128()
110 target_ulong srcl, target_ulong srch, in helper_csrrw_i128()
111 target_ulong maskl, target_ulong maskh) in helper_csrrw_i128()
452 target_ulong helper_hyp_hlv_bu(CPURISCVState *env, target_ulong addr) in helper_hyp_hlv_bu()
461 target_ulong helper_hyp_hlv_hu(CPURISCVState *env, target_ulong addr) in helper_hyp_hlv_hu()
470 target_ulong helper_hyp_hlv_wu(CPURISCVState *env, target_ulong addr) in helper_hyp_hlv_wu()
479 target_ulong helper_hyp_hlv_d(CPURISCVState *env, target_ulong addr) in helper_hyp_hlv_d()
531 target_ulong helper_hyp_hlvx_hu(CPURISCVState *env, target_ulong addr) in helper_hyp_hlvx_hu()
[all …]
H A Dcsr.c111 target_ulong ctr_mask; in ctr()
869 target_ulong inh_avail_mask = (target_ulong)(~MHPMEVENTH_FILTER_MASK | in write_mcyclecfgh()
921 target_ulong inh_avail_mask = (target_ulong)(~MHPMEVENTH_FILTER_MASK | in write_minstretcfgh()
989 target_ulong inh_avail_mask = (target_ulong)(~MHPMEVENTH_FILTER_MASK | in write_mhpmeventh()
1514 target_ulong mask; in legalize_xatp()
1815 target_ulong new_val, target_ulong wr_mask) in rmw_mie()
1861 target_ulong new_val, target_ulong wr_mask) in rmw_mvien()
1969 target_ulong *val, target_ulong new_val, in rmw_iprio()
2013 target_ulong *val, target_ulong new_val, in rmw_xireg()
2089 target_ulong *val, target_ulong new_val, in rmw_xtopei()
[all …]
H A Ddebug.c134 target_ulong tdata1; in build_tdata1()
178 static target_ulong tdata1_validate(CPURISCVState *env, target_ulong val, in tdata1_validate()
182 target_ulong tdata1; in tdata1_validate()
212 static inline void warn_always_zero_bit(target_ulong val, target_ulong mask, in warn_always_zero_bit()
338 target_ulong val; in type2_mcontrol_validate()
467 target_ulong val; in type6_mcontrol6_validate()
701 target_ulong val; in itrigger_validate()
849 target_ulong ctrl; in riscv_cpu_debug_check_breakpoint()
850 target_ulong pc; in riscv_cpu_debug_check_breakpoint()
895 target_ulong ctrl; in riscv_cpu_debug_check_watchpoint()
[all …]
/openbmc/qemu/include/semihosting/
H A Dsyscalls.h26 target_ulong fname, target_ulong fname_len,
33 int fd, target_ulong buf, target_ulong len);
36 GuestFD *gf, target_ulong buf, target_ulong len);
39 int fd, target_ulong buf, target_ulong len);
42 GuestFD *gf, target_ulong buf, target_ulong len);
58 target_ulong fname, target_ulong fname_len,
62 target_ulong fname, target_ulong fname_len);
65 target_ulong oname, target_ulong oname_len,
66 target_ulong nname, target_ulong nname_len);
69 target_ulong cmd, target_ulong cmd_len);
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_hcall.c206 target_ulong opcode, target_ulong *args) in h_set_sprg0()
215 target_ulong opcode, target_ulong *args) in h_set_dabr()
319 static target_ulong register_vpa(PowerPCCPU *cpu, target_ulong vpa) in register_vpa()
357 static target_ulong deregister_vpa(PowerPCCPU *cpu, target_ulong vpa) in deregister_vpa()
411 static target_ulong register_dtl(PowerPCCPU *cpu, target_ulong addr) in register_dtl()
491 target_ulong opcode, target_ulong *args) in h_cede()
538 target_ulong opcode, target_ulong *args) in h_join()
574 target_ulong opcode, target_ulong *args) in h_confer()
629 target_ulong opcode, target_ulong *args) in h_prod()
652 target_ulong opcode, target_ulong *args) in h_rtas()
[all …]
H A Dspapr_vhyp_mmu.c20 target_ulong opcode, target_ulong *args) in h_enter()
27 target_ulong raddr; in h_enter()
28 target_ulong slot; in h_enter()
104 target_ulong *vp, target_ulong *rp) in remove_hpte()
107 target_ulong v, r; in remove_hpte()
131 target_ulong opcode, target_ulong *args) in h_remove()
179 target_ulong opcode, target_ulong *args) in h_bulk_remove()
231 target_ulong opcode, target_ulong *args) in h_protect()
238 target_ulong v, r; in h_protect()
270 target_ulong opcode, target_ulong *args) in h_read()
[all …]
H A Dspapr_rtas.c102 target_ulong id; in rtas_query_cpu_stopped_state()
129 target_ulong args, in rtas_start_cpu()
132 target_ulong id, start, r3; in rtas_start_cpu()
135 target_ulong lpcr; in rtas_start_cpu()
136 target_ulong caller_lpcr; in rtas_start_cpu()
205 target_ulong args, in rtas_stop_self()
254 static inline int sysparm_st(target_ulong addr, target_ulong len, in sysparm_st()
276 target_ulong buffer = rtas_ld(args, 1); in rtas_ibm_get_system_parameter()
277 target_ulong length = rtas_ld(args, 2); in rtas_ibm_get_system_parameter()
278 target_ulong ret; in rtas_ibm_get_system_parameter()
[all …]
/openbmc/qemu/linux-user/hppa/
H A Dtarget_syscall.h5 target_ulong gr[32];
7 target_ulong sr[8];
8 target_ulong iasq[2];
10 target_ulong cr27;
13 target_ulong ksp;
14 target_ulong kpc;
15 target_ulong sar;
16 target_ulong iir;
17 target_ulong isr;
18 target_ulong ior;
[all …]
/openbmc/qemu/target/loongarch/tcg/
H A Dop_helper.c26 target_ulong helper_bitrev_w(target_ulong rj) in helper_bitrev_w()
31 target_ulong helper_bitrev_d(target_ulong rj) in helper_bitrev_d()
36 target_ulong helper_bitswap(target_ulong v) in helper_bitswap()
39 ((v & (target_ulong)0x5555555555555555ULL) << 1); in helper_bitswap()
41 ((v & (target_ulong)0x3333333333333333ULL) << 2); in helper_bitswap()
43 ((v & (target_ulong)0x0F0F0F0F0F0F0F0FULL) << 4); in helper_bitswap()
48 void helper_asrtle_d(CPULoongArchState *env, target_ulong rj, target_ulong rk) in helper_asrtle_d()
56 void helper_asrtgt_d(CPULoongArchState *env, target_ulong rj, target_ulong rk) in helper_asrtgt_d()
64 target_ulong helper_crc32(target_ulong val, target_ulong m, uint64_t sz) in helper_crc32()
74 target_ulong helper_crc32c(target_ulong val, target_ulong m, uint64_t sz) in helper_crc32c()
[all …]
H A Diocsr_helper.c18 uint64_t helper_iocsrrd_b(CPULoongArchState *env, target_ulong r_addr) in helper_iocsrrd_b()
24 uint64_t helper_iocsrrd_h(CPULoongArchState *env, target_ulong r_addr) in helper_iocsrrd_h()
30 uint64_t helper_iocsrrd_w(CPULoongArchState *env, target_ulong r_addr) in helper_iocsrrd_w()
42 void helper_iocsrwr_b(CPULoongArchState *env, target_ulong w_addr, in helper_iocsrwr_b()
43 target_ulong val) in helper_iocsrwr_b()
49 void helper_iocsrwr_h(CPULoongArchState *env, target_ulong w_addr, in helper_iocsrwr_h()
50 target_ulong val) in helper_iocsrwr_h()
56 void helper_iocsrwr_w(CPULoongArchState *env, target_ulong w_addr, in helper_iocsrwr_w()
57 target_ulong val) in helper_iocsrwr_w()
63 void helper_iocsrwr_d(CPULoongArchState *env, target_ulong w_addr, in helper_iocsrwr_d()
[all …]
H A Dcsr_helper.c19 target_ulong helper_csrrd_pgd(CPULoongArchState *env) in helper_csrrd_pgd()
38 target_ulong helper_csrrd_cpuid(CPULoongArchState *env) in helper_csrrd_cpuid()
47 target_ulong helper_csrrd_tval(CPULoongArchState *env) in helper_csrrd_tval()
54 target_ulong helper_csrwr_estat(CPULoongArchState *env, target_ulong val) in helper_csrwr_estat()
64 target_ulong helper_csrwr_asid(CPULoongArchState *env, target_ulong val) in helper_csrwr_asid()
76 target_ulong helper_csrwr_tcfg(CPULoongArchState *env, target_ulong val) in helper_csrwr_tcfg()
86 target_ulong helper_csrwr_ticlr(CPULoongArchState *env, target_ulong val) in helper_csrwr_ticlr()
/openbmc/qemu/target/mips/tcg/sysemu/
H A Dcp0_helper.c155 target_ulong v) in sync_c0_tcstatus()
429 target_ulong t0 = env->CP0_Debug; in helper_mfc0_debug()
1081 target_ulong old, val, mask; in helper_mtc0_entryhi()
1231 target_ulong helper_mftc0_configx(CPUMIPSState *env, target_ulong idx) in helper_mftc0_configx()
1559 target_ulong helper_dmt(void) in helper_dmt()
1565 target_ulong helper_emt(void) in helper_emt()
1571 target_ulong helper_dvpe(CPUMIPSState *env) in helper_dvpe()
1587 target_ulong helper_evpe(CPUMIPSState *env) in helper_evpe()
1607 target_ulong helper_dvp(CPUMIPSState *env) in helper_dvp()
1610 target_ulong prev = env->CP0_VPControl; in helper_dvp()
[all …]
/openbmc/qemu/include/hw/mips/
H A Dbootloader.h14 void bl_gen_jump_to(void **ptr, target_ulong jump_addr);
16 bool set_sp, target_ulong sp,
17 bool set_a0, target_ulong a0,
18 bool set_a1, target_ulong a1,
19 bool set_a2, target_ulong a2,
20 bool set_a3, target_ulong a3,
21 target_ulong kernel_addr);
22 void bl_gen_write_ulong(void **ptr, target_ulong addr, target_ulong val);
23 void bl_gen_write_u32(void **ptr, target_ulong addr, uint32_t val);
24 void bl_gen_write_u64(void **ptr, target_ulong addr, uint64_t val);
/openbmc/qemu/linux-user/loongarch64/
H A Dtarget_syscall.h18 target_ulong regs[32];
22 target_ulong era;
23 target_ulong badv;
24 target_ulong crmd;
25 target_ulong prmd;
26 target_ulong euen;
27 target_ulong ecfg;
28 target_ulong estat;
30 target_ulong orig_a0;
31 target_ulong __last[0];
/openbmc/qemu/semihosting/
H A Dsyscalls.c25 static int validate_strlen(CPUState *cs, target_ulong str, target_ulong tlen) in validate_strlen()
54 target_ulong tstr, target_ulong tlen) in validate_lock_user_string()
131 target_ulong fname, target_ulong fname_len, in gdb_open()
187 target_ulong fname, target_ulong fname_len, in gdb_stat()
201 target_ulong fname, target_ulong fname_len) in gdb_remove()
213 target_ulong oname, target_ulong oname_len, in gdb_rename()
214 target_ulong nname, target_ulong nname_len) in gdb_rename()
235 target_ulong cmd, target_ulong cmd_len) in gdb_system()
258 target_ulong fname, target_ulong fname_len, in host_open()
411 target_ulong fname, target_ulong fname_len, in host_stat()
[all …]
/openbmc/qemu/target/ppc/
H A Dtimebase_helper.c30 target_ulong helper_load_tbl(CPUPPCState *env) in helper_load_tbl()
32 return (target_ulong)cpu_ppc_load_tbl(env); in helper_load_tbl()
35 target_ulong helper_load_tbu(CPUPPCState *env) in helper_load_tbu()
40 target_ulong helper_load_atbl(CPUPPCState *env) in helper_load_atbl()
42 return (target_ulong)cpu_ppc_load_atbl(env); in helper_load_atbl()
45 target_ulong helper_load_atbu(CPUPPCState *env) in helper_load_atbu()
50 target_ulong helper_load_vtb(CPUPPCState *env) in helper_load_vtb()
56 target_ulong helper_load_purr(CPUPPCState *env) in helper_load_purr()
58 return (target_ulong)cpu_ppc_load_purr(env); in helper_load_purr()
468 target_ulong helper_load_dcr(CPUPPCState *env, target_ulong dcrn) in helper_load_dcr()
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_emu.h35 target_ulong read_reg(CPUX86State *env, int reg, int size);
36 void write_reg(CPUX86State *env, int reg, target_ulong val, int size);
37 target_ulong read_val_from_reg(target_ulong reg_ptr, int size);
38 void write_val_to_reg(target_ulong reg_ptr, target_ulong val, int size);
39 void write_val_ext(CPUX86State *env, target_ulong ptr, target_ulong val, int size);
40 uint8_t *read_mmio(CPUX86State *env, target_ulong ptr, int bytes);
41 target_ulong read_val_ext(CPUX86State *env, target_ulong ptr, int size);

12345678910>>...15