diff options
| author | Richard Henderson | 2022-08-16 20:53:18 +0200 |
|---|---|---|
| committer | Richard Henderson | 2022-09-06 09:04:26 +0200 |
| commit | 0c90ba16e3b51381dc82b0f54532c6609261aea0 (patch) | |
| tree | bf3519fbca943e87adbbe0e4adb12e7e5ed0fd00 /include | |
| parent | accel/tcg: Unlock mmap_lock after longjmp (diff) | |
| download | qemu-0c90ba16e3b51381dc82b0f54532c6609261aea0.tar.gz qemu-0c90ba16e3b51381dc82b0f54532c6609261aea0.tar.xz qemu-0c90ba16e3b51381dc82b0f54532c6609261aea0.zip | |
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')
| -rw-r--r-- | include/exec/exec-all.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 0475ec6007..9f35e3b7a9 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. */ |
