aboutsummaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-08-16 13:53:18 -0500
committerRichard Henderson <richard.henderson@linaro.org>2022-09-06 08:04:26 +0100
commit0c90ba16e3b51381dc82b0f54532c6609261aea0 (patch)
treebf3519fbca943e87adbbe0e4adb12e7e5ed0fd00 /include/exec
parent297368c74d077b24f0bb5c4f1ce541cc23d36815 (diff)
downloadqemu-0c90ba16e3b51381dc82b0f54532c6609261aea0.zip
qemu-0c90ba16e3b51381dc82b0f54532c6609261aea0.tar.gz
qemu-0c90ba16e3b51381dc82b0f54532c6609261aea0.tar.bz2
accel/tcg: Make tb_htable_lookup static
The function is not used outside of cpu-exec.c. Move it and its subroutines up in the file, before the first use. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Acked-by: Ilya Leoshkevich <iii@linux.ibm.com> Tested-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/exec-all.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 0475ec6..9f35e3b 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -552,9 +552,6 @@ void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr, MemTxAttrs attrs);
#endif
void tb_flush(CPUState *cpu);
void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr);
-TranslationBlock *tb_htable_lookup(CPUState *cpu, target_ulong pc,
- target_ulong cs_base, uint32_t flags,
- uint32_t cflags);
void tb_set_jmp_target(TranslationBlock *tb, int n, uintptr_t addr);
/* GETPC is the true target of the return instruction that we'll execute. */