diff options
author | Philippe Mathieu-Daudé | 2021-01-21 07:15:06 +0100 |
---|---|---|
committer | Richard Henderson | 2021-01-23 23:12:59 +0100 |
commit | c03f041f128301c6a6c32242846be08719cd4fc3 (patch) | |
tree | 8c9e6e4a669bfb7dfd9c874c3439e93a0d87f29b /include/exec/exec-all.h | |
parent | accel/tcg: Move tb_flush_jmp_cache() to cputlb.c (diff) | |
download | qemu-c03f041f128301c6a6c32242846be08719cd4fc3.tar.gz qemu-c03f041f128301c6a6c32242846be08719cd4fc3.tar.xz qemu-c03f041f128301c6a6c32242846be08719cd4fc3.zip |
accel/tcg: Restrict tb_gen_code() from other accelerators
tb_gen_code() is only called within TCG accelerator, declare it locally.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210117164813.4101761-4-f4bug@amsat.org>
[rth: Adjust vs changed tb_flush_jmp_cache patch.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
-rw-r--r-- | include/exec/exec-all.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 1e3e7cf8e7..3acc7c2943 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -64,11 +64,6 @@ bool cpu_restore_state(CPUState *cpu, uintptr_t searched_pc, bool will_exit); void QEMU_NORETURN cpu_loop_exit_noexc(CPUState *cpu); void QEMU_NORETURN cpu_io_recompile(CPUState *cpu, uintptr_t retaddr); -TranslationBlock *tb_gen_code(CPUState *cpu, - target_ulong pc, target_ulong cs_base, - uint32_t flags, - int cflags); - void QEMU_NORETURN cpu_loop_exit(CPUState *cpu); void QEMU_NORETURN cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc); void QEMU_NORETURN cpu_loop_exit_atomic(CPUState *cpu, uintptr_t pc); |