Home
last modified time | relevance | path

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

12

/external/qemu/include/exec/
Dexec-all.h77 void gen_intermediate_code(CPUArchState *env, struct TranslationBlock *tb);
78 void gen_intermediate_code_pc(CPUArchState *env, struct TranslationBlock *tb);
79 void restore_state_to_opc(CPUArchState *env, struct TranslationBlock *tb,
85 int cpu_gen_code(CPUArchState *env, struct TranslationBlock *tb,
87 bool cpu_restore_state(CPUArchState *env, uintptr_t searched_pc);
89 void QEMU_NORETURN cpu_resume_from_signal(CPUArchState *env1, void *puc);
90 void QEMU_NORETURN cpu_io_recompile(CPUArchState *env, uintptr_t retaddr);
91 TranslationBlock *tb_gen_code(CPUArchState *env,
94 void cpu_exec_init(CPUArchState *env);
95 void QEMU_NORETURN cpu_loop_exit(CPUArchState *env1);
[all …]
Dsoftmmu-semi.h12 static inline uint32_t softmmu_tget32(CPUArchState *env, uint32_t addr) in softmmu_tget32()
19 static inline uint32_t softmmu_tget8(CPUArchState *env, uint32_t addr) in softmmu_tget8()
31 static inline void softmmu_tput32(CPUArchState *env, uint32_t addr, uint32_t val) in softmmu_tput32()
39 static void *softmmu_lock_user(CPUArchState *env, uint32_t addr, uint32_t len, in softmmu_lock_user()
51 static char *softmmu_lock_user_string(CPUArchState *env, uint32_t addr) in softmmu_lock_user_string()
69 static void softmmu_unlock_user(CPUArchState *env, void *p, target_ulong addr, in softmmu_unlock_user()
Dgdbstub.h22 void gdb_exit(CPUArchState *, int);
26 void gdb_signalled(CPUArchState *, int);
27 void gdbserver_fork(CPUArchState *);
30 typedef int (*gdb_reg_cb)(CPUArchState *env, uint8_t *buf, int reg);
Dcputlb.h25 void tlb_unprotect_code_phys(CPUArchState *env, ram_addr_t ram_addr,
30 void tlb_set_dirty(CPUArchState *env, target_ulong vaddr);
34 void tb_flush_jmp_cache(CPUArchState *env, target_ulong addr);
40 hwaddr memory_region_section_get_iotlb(CPUArchState *env,
Dgen-icount.h20 tcg_gen_ld_i32(count, cpu_env, offsetof(CPUArchState, icount_decr.u32)); in gen_icount_start()
26 tcg_gen_st16_i32(count, cpu_env, offsetof(CPUArchState, icount_decr.u16.low)); in gen_icount_start()
42 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUArchState, can_do_io)); in gen_io_start()
49 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUArchState, can_do_io)); in gen_io_end()
Dsoftmmu_header.h84 glue(glue(cpu_ld, USUFFIX), MEMSUFFIX)(CPUArchState *env, target_ulong ptr) in glue()
106 glue(glue(cpu_lds, SUFFIX), MEMSUFFIX)(CPUArchState *env, target_ulong ptr) in glue()
132 glue(glue(cpu_st, SUFFIX), MEMSUFFIX)(CPUArchState *env, target_ulong ptr, in glue()
156 static inline float64 glue(cpu_ldfq, MEMSUFFIX)(CPUArchState *env, in glue()
167 static inline void glue(cpu_stfq, MEMSUFFIX)(CPUArchState *env, in glue()
180 static inline float32 glue(cpu_ldfl, MEMSUFFIX)(CPUArchState *env, in glue()
191 static inline void glue(cpu_stfl, MEMSUFFIX)(CPUArchState *env, in glue()
Dcpu-all.h364 void QEMU_NORETURN cpu_abort(CPUArchState *env, const char *fmt, ...)
426 int cpu_breakpoint_insert(CPUArchState *env, target_ulong pc, int flags,
428 int cpu_breakpoint_remove(CPUArchState *env, target_ulong pc, int flags);
429 void cpu_breakpoint_remove_by_ref(CPUArchState *env, CPUBreakpoint *breakpoint);
430 void cpu_breakpoint_remove_all(CPUArchState *env, int mask);
431 int cpu_watchpoint_insert(CPUArchState *env, target_ulong addr, target_ulong len,
433 int cpu_watchpoint_remove(CPUArchState *env, target_ulong addr,
435 void cpu_watchpoint_remove_by_ref(CPUArchState *env, CPUWatchpoint *watchpoint);
436 void cpu_watchpoint_remove_all(CPUArchState *env, int mask);
450 hwaddr cpu_get_phys_page_debug(CPUArchState *env, target_ulong addr);
[all …]
Dsoftmmu_template.h115 static inline DATA_TYPE glue(io_read, SUFFIX)(CPUArchState *env, in glue()
147 WORD_TYPE helper_le_ld_name(CPUArchState *env, target_ulong addr, int mmu_idx, in helper_le_ld_name()
229 WORD_TYPE helper_be_ld_name(CPUArchState *env, target_ulong addr, int mmu_idx, in helper_be_ld_name()
305 glue(glue(helper_ld, SUFFIX), MMUSUFFIX)(CPUArchState *env, target_ulong addr, in glue()
316 WORD_TYPE helper_le_lds_name(CPUArchState *env, target_ulong addr, in helper_le_lds_name()
323 WORD_TYPE helper_be_lds_name(CPUArchState *env, target_ulong addr, in helper_be_lds_name()
331 static inline void glue(io_write, SUFFIX)(CPUArchState *env, in glue()
359 void helper_le_st_name(CPUArchState *env, target_ulong addr, DATA_TYPE val, in helper_le_st_name()
435 void helper_be_st_name(CPUArchState *env, target_ulong addr, DATA_TYPE val, in helper_be_st_name()
508 glue(glue(helper_st, SUFFIX), MMUSUFFIX)(CPUArchState *env, target_ulong addr, in glue()
Dpoison.h39 #pragma GCC poison CPUArchState
/external/qemu/tcg/
Dtcg.h776 tcg_target_ulong helper_ret_ldub_mmu(CPUArchState *env, target_ulong addr,
778 tcg_target_ulong helper_le_lduw_mmu(CPUArchState *env, target_ulong addr,
780 tcg_target_ulong helper_le_ldul_mmu(CPUArchState *env, target_ulong addr,
782 uint64_t helper_le_ldq_mmu(CPUArchState *env, target_ulong addr,
784 tcg_target_ulong helper_be_lduw_mmu(CPUArchState *env, target_ulong addr,
786 tcg_target_ulong helper_be_ldul_mmu(CPUArchState *env, target_ulong addr,
788 uint64_t helper_be_ldq_mmu(CPUArchState *env, target_ulong addr,
792 tcg_target_ulong helper_ret_ldsb_mmu(CPUArchState *env, target_ulong addr,
794 tcg_target_ulong helper_le_ldsw_mmu(CPUArchState *env, target_ulong addr,
796 tcg_target_ulong helper_le_ldsl_mmu(CPUArchState *env, target_ulong addr,
[all …]
/external/qemu/
Dcputlb.c47 void tlb_flush(CPUArchState *env, int flush_global) in tlb_flush()
85 void tlb_flush_page(CPUArchState *env, target_ulong addr) in tlb_flush_page()
127 void tlb_unprotect_code_phys(CPUArchState *env, ram_addr_t ram_addr, in tlb_unprotect_code_phys()
161 void tlb_set_dirty(CPUArchState *env, target_ulong vaddr) in tlb_set_dirty()
175 static void tlb_add_large_page(CPUArchState *env, target_ulong vaddr, in tlb_add_large_page()
199 void tlb_set_page(CPUArchState *env, target_ulong vaddr, in tlb_set_page()
303 tb_page_addr_t get_page_addr_code(CPUArchState *env1, target_ulong addr) in get_page_addr_code()
Dgdbstub.c277 CPUArchState *c_cpu; /* current CPU for step/continue ops */
278 CPUArchState *g_cpu; /* current CPU for other ops */
279 CPUArchState *query_cpu; /* for q{f|s}ThreadInfo */
515 static int cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) in cpu_gdb_read_register()
562 static int cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int i) in cpu_gdb_write_register()
640 static int cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) in cpu_gdb_read_register()
677 static int cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) in cpu_gdb_write_register()
738 static int cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) in cpu_gdb_read_register()
793 static int cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) in cpu_gdb_write_register()
868 static int cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) in cpu_gdb_read_register()
[all …]
Dexec.c164 void cpu_exec_init(CPUArchState *env) in cpu_exec_init()
205 static void breakpoint_invalidate(CPUArchState *env, target_ulong pc) in breakpoint_invalidate()
225 void cpu_watchpoint_remove_all(CPUArchState *env, int mask) in cpu_watchpoint_remove_all()
230 int cpu_watchpoint_insert(CPUArchState *env, target_ulong addr, target_ulong len, in cpu_watchpoint_insert()
237 int cpu_watchpoint_insert(CPUArchState *env, target_ulong addr, target_ulong len, in cpu_watchpoint_insert()
270 int cpu_watchpoint_remove(CPUArchState *env, target_ulong addr, target_ulong len, in cpu_watchpoint_remove()
287 void cpu_watchpoint_remove_by_ref(CPUArchState *env, CPUWatchpoint *watchpoint) in cpu_watchpoint_remove_by_ref()
297 void cpu_watchpoint_remove_all(CPUArchState *env, int mask) in cpu_watchpoint_remove_all()
309 int cpu_breakpoint_insert(CPUArchState *env, target_ulong pc, int flags, in cpu_breakpoint_insert()
339 int cpu_breakpoint_remove(CPUArchState *env, target_ulong pc, int flags) in cpu_breakpoint_remove()
[all …]
Dtranslate-all.c137 int cpu_gen_code(CPUArchState *env, TranslationBlock *tb, int *gen_code_size_ptr) in cpu_gen_code()
198 static int cpu_restore_state_from_tb(TranslationBlock *tb, CPUArchState *env, in cpu_restore_state_from_tb()
253 bool cpu_restore_state(CPUArchState *env, uintptr_t retaddr) in cpu_restore_state()
727 void tb_flush(CPUArchState *env1) in tb_flush()
744 CPUArchState *env = cpu->env_ptr; in tb_flush()
897 CPUArchState *env = cpu->env_ptr; in tb_phys_invalidate()
981 TranslationBlock *tb_gen_code(CPUArchState *env, in tb_gen_code()
1049 CPUArchState *env = cpu ? cpu->env_ptr : NULL; in tb_invalidate_phys_page_range()
1198 CPUArchState *env = cpu_single_env; in tb_invalidate_phys_page()
1408 void tb_check_watchpoint(CPUArchState *env) in tb_check_watchpoint()
[all …]
Dtranslate-all.h32 void tb_check_watchpoint(CPUArchState *env);
Ddisas.c12 CPUArchState *env;
197 void target_disas(FILE *out, CPUArchState *env, target_ulong code, in target_disas()
437 void monitor_disas(Monitor *mon, CPUArchState *env, in monitor_disas()
Dcpu-exec.c53 void cpu_loop_exit(CPUArchState* env) in cpu_loop_exit()
62 void cpu_resume_from_signal(CPUArchState *env, void *puc) in cpu_resume_from_signal()
94 static void cpu_exec_nocache(CPUArchState *env, int max_cycles, TranslationBlock *orig_tb) in cpu_exec_nocache()
120 static TranslationBlock *tb_find_slow(CPUArchState *env, in tb_find_slow()
174 static inline TranslationBlock *tb_find_fast(CPUArchState *env) in tb_find_fast()
/external/qemu/include/disas/
Ddisas.h11 void target_disas(FILE *out, CPUArchState *env, target_ulong code,
14 void monitor_disas(Monitor *mon, CPUArchState *env,
/external/qemu/include/qemu/
Dlog.h106 void target_disas(FILE*, CPUArchState*, target_ulong, target_ulong, int);
108 static inline void log_target_disas(CPUArchState *env, target_ulong start, in log_target_disas()
/external/qemu/target-i386/
Dcpu.h48 #define CPUArchState struct CPUX86State macro
1138 void do_interrupt(CPUArchState *env);
1139 void do_interrupt_x86_hardirq(CPUArchState *env, int intno, int is_hw);
1141 void QEMU_NORETURN raise_exception(CPUArchState *env, int exception_index);
1150 void do_smm_enter(CPUArchState *env1);
1152 void svm_check_intercept(CPUArchState *env1, uint32_t type);
1156 uint32_t cpu_cc_compute_all(CPUArchState *env1, int op);
Dsmm_helper.c27 void do_smm_enter(CPUArchState *env1) in do_smm_enter()
43 void do_smm_enter(CPUArchState *env) in do_smm_enter()
/external/qemu/hw/android/goldfish/
Dvmem.c42 CPUArchState *env = cpu->env_ptr; in safe_get_phys_page_debug()
Dtrace.c42 extern void cpu_loop_exit(CPUArchState* env);
/external/qemu/include/qom/
Dcpu.h108 #define cpu_single_env ((CPUArchState*)current_cpu->env_ptr)
/external/qemu/target-mips/
Dcpu.h13 #define CPUArchState struct CPUMIPSState macro
493 void cpu_unassigned_access(CPUArchState* env, hwaddr addr,

12