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. Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
845b6214a3
commit
1652b97476
@ -90,11 +90,7 @@ TranslationBlock *tb_gen_code(CPUState *cpu,
|
|||||||
int cflags);
|
int cflags);
|
||||||
void cpu_exec_init(CPUArchState *env);
|
void cpu_exec_init(CPUArchState *env);
|
||||||
void QEMU_NORETURN cpu_loop_exit(CPUState *cpu);
|
void QEMU_NORETURN cpu_loop_exit(CPUState *cpu);
|
||||||
int page_unprotect(target_ulong address, uintptr_t pc, void *puc);
|
|
||||||
void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
|
|
||||||
int is_cpu_write_access);
|
|
||||||
void tb_invalidate_phys_range(tb_page_addr_t start, tb_page_addr_t end,
|
|
||||||
int is_cpu_write_access);
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
bool qemu_in_vcpu_thread(void);
|
bool qemu_in_vcpu_thread(void);
|
||||||
void cpu_reload_memory_map(CPUState *cpu);
|
void cpu_reload_memory_map(CPUState *cpu);
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include "qemu.h"
|
#include "qemu.h"
|
||||||
#include "qemu-common.h"
|
#include "qemu-common.h"
|
||||||
|
#include "translate-all.h"
|
||||||
|
|
||||||
//#define DEBUG_MMAP
|
//#define DEBUG_MMAP
|
||||||
|
|
||||||
|
@ -21,6 +21,14 @@
|
|||||||
|
|
||||||
/* translate-all.c */
|
/* translate-all.c */
|
||||||
void tb_invalidate_phys_page_fast(tb_page_addr_t start, int len);
|
void tb_invalidate_phys_page_fast(tb_page_addr_t start, int len);
|
||||||
|
void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
|
||||||
|
int is_cpu_write_access);
|
||||||
|
void tb_invalidate_phys_range(tb_page_addr_t start, tb_page_addr_t end,
|
||||||
|
int is_cpu_write_access);
|
||||||
void tb_check_watchpoint(CPUState *cpu);
|
void tb_check_watchpoint(CPUState *cpu);
|
||||||
|
|
||||||
|
#ifdef CONFIG_USER_ONLY
|
||||||
|
int page_unprotect(target_ulong address, uintptr_t pc, void *puc);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* TRANSLATE_ALL_H */
|
#endif /* TRANSLATE_ALL_H */
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "tcg.h"
|
#include "tcg.h"
|
||||||
#include "qemu/bitops.h"
|
#include "qemu/bitops.h"
|
||||||
#include "exec/cpu_ldst.h"
|
#include "exec/cpu_ldst.h"
|
||||||
|
#include "translate-all.h"
|
||||||
|
|
||||||
#undef EAX
|
#undef EAX
|
||||||
#undef ECX
|
#undef ECX
|
||||||
|
Loading…
Reference in New Issue
Block a user