Home
last modified time | relevance | path

Searched refs:CPUArchState (Results 1 – 25 of 127) sorted by relevance

123456

/openbmc/qemu/include/exec/
H A Dcpu_ldst.h123 uint32_t cpu_ldub_data(CPUArchState *env, abi_ptr ptr);
124 int cpu_ldsb_data(CPUArchState *env, abi_ptr ptr);
125 uint32_t cpu_lduw_be_data(CPUArchState *env, abi_ptr ptr);
126 int cpu_ldsw_be_data(CPUArchState *env, abi_ptr ptr);
127 uint32_t cpu_ldl_be_data(CPUArchState *env, abi_ptr ptr);
128 uint64_t cpu_ldq_be_data(CPUArchState *env, abi_ptr ptr);
129 uint32_t cpu_lduw_le_data(CPUArchState *env, abi_ptr ptr);
130 int cpu_ldsw_le_data(CPUArchState *env, abi_ptr ptr);
131 uint32_t cpu_ldl_le_data(CPUArchState *env, abi_ptr ptr);
132 uint64_t cpu_ldq_le_data(CPUArchState *env, abi_ptr ptr);
[all …]
H A Dtranslator.h196 uint8_t translator_ldub(CPUArchState *env, DisasContextBase *db, vaddr pc);
197 uint16_t translator_lduw(CPUArchState *env, DisasContextBase *db, vaddr pc);
198 uint32_t translator_ldl(CPUArchState *env, DisasContextBase *db, vaddr pc);
199 uint64_t translator_ldq(CPUArchState *env, DisasContextBase *db, vaddr pc);
202 translator_lduw_swap(CPUArchState *env, DisasContextBase *db, in translator_lduw_swap()
213 translator_ldl_swap(CPUArchState *env, DisasContextBase *db, in translator_ldl_swap()
224 translator_ldq_swap(CPUArchState *env, DisasContextBase *db, in translator_ldq_swap()
H A Dexec-all.h324 void *probe_access(CPUArchState *env, vaddr addr, int size,
327 static inline void *probe_write(CPUArchState *env, vaddr addr, int size, in probe_write()
333 static inline void *probe_read(CPUArchState *env, vaddr addr, int size, in probe_read()
358 int probe_access_flags(CPUArchState *env, vaddr addr, int size,
379 int probe_access_full(CPUArchState *env, vaddr addr, int size,
394 int probe_access_full_mmu(CPUArchState *env, vaddr addr, int size,
502 tb_page_addr_t get_page_addr_code_hostp(CPUArchState *env, vaddr addr,
516 static inline tb_page_addr_t get_page_addr_code(CPUArchState *env, in get_page_addr_code()
/openbmc/qemu/accel/tcg/
H A Dldst_common.c.inc15 tcg_target_ulong helper_ldub_mmu(CPUArchState *env, uint64_t addr,
22 tcg_target_ulong helper_lduw_mmu(CPUArchState *env, uint64_t addr,
29 tcg_target_ulong helper_ldul_mmu(CPUArchState *env, uint64_t addr,
36 uint64_t helper_ldq_mmu(CPUArchState *env, uint64_t addr,
48 tcg_target_ulong helper_ldsb_mmu(CPUArchState *env, uint64_t addr,
54 tcg_target_ulong helper_ldsw_mmu(CPUArchState *env, uint64_t addr,
60 tcg_target_ulong helper_ldsl_mmu(CPUArchState *env, uint64_t addr,
66 Int128 helper_ld16_mmu(CPUArchState *env, uint64_t addr,
73 Int128 helper_ld_i128(CPUArchState *env, uint64_t addr, uint32_t oi)
82 void helper_stb_mmu(CPUArchState *env, uint64_t addr, uint32_t val,
[all …]
H A Datomic_template.h80 ABI_TYPE ATOMIC_NAME(cmpxchg)(CPUArchState *env, abi_ptr addr, in ATOMIC_NAME()
104 ABI_TYPE ATOMIC_NAME(xchg)(CPUArchState *env, abi_ptr addr, ABI_TYPE val, in ATOMIC_NAME()
123 ABI_TYPE ATOMIC_NAME(X)(CPUArchState *env, abi_ptr addr, \
159 ABI_TYPE ATOMIC_NAME(X)(CPUArchState *env, abi_ptr addr, \ in GEN_ATOMIC_HELPER()
205 ABI_TYPE ATOMIC_NAME(cmpxchg)(CPUArchState *env, abi_ptr addr,
229 ABI_TYPE ATOMIC_NAME(xchg)(CPUArchState *env, abi_ptr addr, ABI_TYPE val, in ATOMIC_NAME()
248 ABI_TYPE ATOMIC_NAME(X)(CPUArchState *env, abi_ptr addr, \
281 ABI_TYPE ATOMIC_NAME(X)(CPUArchState *env, abi_ptr addr, \
H A Datomic_common.c.inc16 static void atomic_trace_rmw_post(CPUArchState *env, uint64_t addr,
40 TYPE HELPER(atomic_##OP)(CPUArchState *env, uint64_t addr, \
62 Int128 HELPER(nonatomic_cmpxchgo)(CPUArchState *env, uint64_t addr,
83 TYPE HELPER(glue(atomic_,OP))(CPUArchState *env, uint64_t addr, \
/openbmc/qemu/include/tcg/
H A Dtcg-ldst.h29 tcg_target_ulong helper_ldub_mmu(CPUArchState *env, uint64_t addr,
31 tcg_target_ulong helper_lduw_mmu(CPUArchState *env, uint64_t addr,
33 tcg_target_ulong helper_ldul_mmu(CPUArchState *env, uint64_t addr,
35 uint64_t helper_ldq_mmu(CPUArchState *env, uint64_t addr,
37 Int128 helper_ld16_mmu(CPUArchState *env, uint64_t addr,
41 tcg_target_ulong helper_ldsb_mmu(CPUArchState *env, uint64_t addr,
43 tcg_target_ulong helper_ldsw_mmu(CPUArchState *env, uint64_t addr,
45 tcg_target_ulong helper_ldsl_mmu(CPUArchState *env, uint64_t addr,
52 void helper_stb_mmu(CPUArchState *env, uint64_t addr, uint32_t val,
54 void helper_stw_mmu(CPUArchState *env, uint64_t addr, uint32_t val,
[all …]
/openbmc/qemu/linux-user/
H A Duser-internals.h63 abi_long do_syscall(CPUArchState *cpu_env, int num, abi_long arg1,
68 G_NORETURN void cpu_loop(CPUArchState *env);
136 static inline int regpairs_aligned(CPUArchState *cpu_env, int num) in regpairs_aligned()
141 static inline int regpairs_aligned(CPUArchState *cpu_env, int num) { return 1; } in regpairs_aligned()
148 static inline int regpairs_aligned(CPUArchState *cpu_env, int num) { return 1; } in regpairs_aligned()
151 static inline int regpairs_aligned(CPUArchState *cpu_env, int num) in regpairs_aligned()
163 static inline int regpairs_aligned(CPUArchState *cpu_env, int num) { return 1; } in regpairs_aligned()
165 static inline int regpairs_aligned(CPUArchState *cpu_env, int num) { return 1; } in regpairs_aligned()
167 static inline int regpairs_aligned(CPUArchState *cpu_env, int num) { return 0; } in regpairs_aligned()
176 void preexit_cleanup(CPUArchState *env, int code);
H A Dsignal-common.h34 void target_save_altstack(target_stack_t *uss, CPUArchState *env);
35 abi_long target_restore_altstack(target_stack_t *uss, CPUArchState *env);
52 target_sigset_t *set, CPUArchState *env);
56 target_sigset_t *set, CPUArchState *env);
58 void process_pending_signals(CPUArchState *cpu_env);
60 void queue_signal(CPUArchState *env, int sig, int si_type,
66 long do_sigreturn(CPUArchState *env);
67 long do_rt_sigreturn(CPUArchState *env);
69 CPUArchState *env);
71 abi_long do_swapcontext(CPUArchState *env, abi_ulong uold_ctx,
H A Dstrace.c30 void (*call)(CPUArchState *, const struct syscallname *,
33 void (*result)(CPUArchState *, const struct syscallname *, abi_long,
648 print_newselect(CPUArchState *cpu_env, const struct syscallname *name, in print_newselect()
665 print_semctl(CPUArchState *cpu_env, const struct syscallname *name, in print_semctl()
676 print_shmat(CPUArchState *cpu_env, const struct syscallname *name, in print_shmat()
697 print_ipc(CPUArchState *cpu_env, const struct syscallname *name, in print_ipc()
788 print_syscall_ret_addr(CPUArchState *cpu_env, const struct syscallname *name, in print_syscall_ret_addr()
809 print_syscall_ret_newselect(CPUArchState *cpu_env, const struct syscallname *name, in print_syscall_ret_newselect()
839 print_syscall_ret_adjtimex(CPUArchState *cpu_env, const struct syscallname *name, in print_syscall_ret_adjtimex()
874 print_syscall_ret_clock_gettime(CPUArchState *cpu_env, const struct syscallname *name, in print_syscall_ret_clock_gettime()
[all …]
H A Dcpu_loop-common.h26 void target_exception_dump(CPUArchState *env, const char *fmt, int code);
30 void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs);
H A Dstrace.h21 void print_syscall(CPUArchState *cpu_env, int num,
24 void print_syscall_ret(CPUArchState *cpu_env, int num, abi_long ret,
/openbmc/qemu/bsd-user/freebsd/
H A Dtarget_os_ucontext.h35 abi_long set_sigtramp_args(CPUArchState *env, int sig,
39 abi_long get_mcontext(CPUArchState *env, target_mcontext_t *mcp, int flags);
40 abi_long set_mcontext(CPUArchState *env, target_mcontext_t *mcp, int srflag);
41 abi_long get_ucontext_sigreturn(CPUArchState *env, abi_ulong target_sf,
/openbmc/qemu/linux-user/aarch64/
H A Dtarget_prctl.h12 static abi_long do_prctl_sve_get_vl(CPUArchState *env) in do_prctl_sve_get_vl()
23 static abi_long do_prctl_sve_set_vl(CPUArchState *env, abi_long arg2) in do_prctl_sve_set_vl()
57 static abi_long do_prctl_sme_get_vl(CPUArchState *env) in do_prctl_sme_get_vl()
67 static abi_long do_prctl_sme_set_vl(CPUArchState *env, abi_long arg2) in do_prctl_sme_set_vl()
109 static abi_long do_prctl_reset_keys(CPUArchState *env, abi_long arg2) in do_prctl_reset_keys()
161 static abi_long do_prctl_set_tagged_addr_ctrl(CPUArchState *env, abi_long arg2) in do_prctl_set_tagged_addr_ctrl()
192 static abi_long do_prctl_get_tagged_addr_ctrl(CPUArchState *env) in do_prctl_get_tagged_addr_ctrl()
/openbmc/qemu/bsd-user/
H A Dsignal-common.h32 long do_rt_sigreturn(CPUArchState *env);
36 long do_sigreturn(CPUArchState *env, abi_ulong addr);
41 void process_pending_signals(CPUArchState *env);
42 void queue_signal(CPUArchState *env, int sig, int si_type,
/openbmc/qemu/target/ppc/
H A Dppc-qmp-cmds.c38 CPUArchState *env = mon_get_cpu_env(mon); in monitor_get_ccr()
49 CPUArchState *env = mon_get_cpu_env(mon); in monitor_get_xer()
56 CPUArchState *env = mon_get_cpu_env(mon); in monitor_get_decr()
66 CPUArchState *env = mon_get_cpu_env(mon); in monitor_get_tbu()
76 CPUArchState *env = mon_get_cpu_env(mon); in monitor_get_tbl()
85 CPUArchState *env1 = mon_get_cpu_env(mon); in hmp_info_tlb()
/openbmc/qemu/semihosting/
H A Duaccess.c14 void *uaccess_lock_user(CPUArchState *env, target_ulong addr, in uaccess_lock_user()
27 ssize_t uaccess_strlen_user(CPUArchState *env, target_ulong addr) in uaccess_strlen_user()
75 char *uaccess_lock_user_string(CPUArchState *env, target_ulong addr) in uaccess_lock_user_string()
84 void uaccess_unlock_user(CPUArchState *env, void *p, in uaccess_unlock_user()
H A Dsyscalls.c27 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in validate_strlen()
57 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in validate_lock_user_string()
77 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in copy_stat_to_user()
261 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in host_open()
319 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in host_read()
340 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in host_write()
414 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in host_stat()
443 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in host_remove()
462 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in host_rename()
487 CPUArchState *env G_GNUC_UNUSED = cpu_env(cs); in host_system()
[all …]
/openbmc/qemu/linux-user/s390x/
H A Dtarget_proc.h47 static void show_cpu_summary(CPUArchState *cpu_env, int fd) in show_cpu_summary()
81 static void show_cpu_ids(CPUArchState *cpu_env, int fd, unsigned long n) in show_cpu_ids()
90 static void show_cpuinfo(CPUArchState *cpu_env, int fd, unsigned long n) in show_cpuinfo()
96 static int open_cpuinfo(CPUArchState *cpu_env, int fd) in open_cpuinfo()
/openbmc/qemu/include/semihosting/
H A Duaccess.h52 void *uaccess_lock_user(CPUArchState *env, target_ulong addr,
56 char *uaccess_lock_user_string(CPUArchState *env, target_ulong addr);
59 void uaccess_unlock_user(CPUArchState *env, void *p,
63 ssize_t uaccess_strlen_user(CPUArchState *env, target_ulong addr);
/openbmc/qemu/target/i386/
H A Dmonitor.c36 static hwaddr addr_canonical(CPUArchState *env, hwaddr addr) in addr_canonical()
52 static void print_pte(Monitor *mon, CPUArchState *env, hwaddr addr, in print_pte()
72 static void tlb_info_32(Monitor *mon, CPUArchState *env) in tlb_info_32()
100 static void tlb_info_pae32(Monitor *mon, CPUArchState *env) in tlb_info_pae32()
140 static void tlb_info_la48(Monitor *mon, CPUArchState *env, in tlb_info_la48()
201 static void tlb_info_la57(Monitor *mon, CPUArchState *env) in tlb_info_la57()
220 CPUArchState *env; in hmp_info_tlb()
250 static void mem_print(Monitor *mon, CPUArchState *env, in mem_print()
275 static void mem_info_32(Monitor *mon, CPUArchState *env) in mem_info_32()
316 static void mem_info_pae32(Monitor *mon, CPUArchState *env) in mem_info_pae32()
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dhvf-i386.h21 void hvf_handle_io(CPUArchState *, uint16_t, void *, int, int, int);
24 int hvf_inject_interrupt(CPUArchState *env, int vector);
/openbmc/qemu/linux-user/generic/
H A Dtarget_prctl_unalign.h9 static abi_long do_prctl_get_unalign(CPUArchState *env, target_long arg2) in do_prctl_get_unalign()
20 static abi_long do_prctl_set_unalign(CPUArchState *env, target_long arg2) in do_prctl_set_unalign()
/openbmc/qemu/target/riscv/
H A Dcommon-semi-target.h33 static inline bool is_64bit_semihosting(CPUArchState *env) in is_64bit_semihosting()
45 static inline bool common_semi_has_synccache(CPUArchState *env) in common_semi_has_synccache()
/openbmc/qemu/target/arm/
H A Dcommon-semi-target.h42 static inline bool is_64bit_semihosting(CPUArchState *env) in is_64bit_semihosting()
54 static inline bool common_semi_has_synccache(CPUArchState *env) in common_semi_has_synccache()

123456