mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-23 23:35:14 +00:00
exec: move functions to translate-all.h
Remove them from the sundry exec-all.h header, since they are only used by the TCG runtime in exec.c and user-exec.c. Backports commit 1652b974766401743879d78f796f44b8929b0787 from qemu
This commit is contained in:
parent
c82ea2b20b
commit
72c8e4d264
|
@ -86,11 +86,6 @@ TranslationBlock *tb_gen_code(CPUState *cpu,
|
|||
void cpu_exec_init(CPUArchState *env, void *opaque);
|
||||
|
||||
void QEMU_NORETURN cpu_loop_exit(CPUState *cpu);
|
||||
|
||||
void tb_invalidate_phys_page_range(struct uc_struct *uc, tb_page_addr_t start, tb_page_addr_t end,
|
||||
int is_cpu_write_access);
|
||||
void tb_invalidate_phys_range(struct uc_struct *uc, tb_page_addr_t start, tb_page_addr_t end,
|
||||
int is_cpu_write_access);
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
void cpu_reload_memory_map(CPUState *cpu);
|
||||
void tcg_cpu_address_space_init(CPUState *cpu, AddressSpace *as);
|
||||
|
|
|
@ -22,6 +22,14 @@
|
|||
/* translate-all.c */
|
||||
void tb_check_watchpoint(CPUState *cpu);
|
||||
void tb_invalidate_phys_page_fast(struct uc_struct* uc, tb_page_addr_t start, int len);
|
||||
void tb_invalidate_phys_page_range(struct uc_struct *uc, tb_page_addr_t start, tb_page_addr_t end,
|
||||
int is_cpu_write_access);
|
||||
void tb_invalidate_phys_range(struct uc_struct *uc, tb_page_addr_t start, tb_page_addr_t end,
|
||||
int is_cpu_write_access);
|
||||
void tb_cleanup(struct uc_struct *uc);
|
||||
|
||||
#ifdef CONFIG_USER_ONLY
|
||||
int page_unprotect(target_ulong address, uintptr_t pc, void *puc);
|
||||
#endif
|
||||
|
||||
#endif /* TRANSLATE_ALL_H */
|
||||
|
|
Loading…
Reference in a new issue