diff options
author | Richard Henderson | 2019-04-03 04:07:11 +0200 |
---|---|---|
committer | Richard Henderson | 2019-05-10 20:12:50 +0200 |
commit | c319dc13579a92937bffe02ad2c9f1a550e73973 (patch) | |
tree | 0b20168d6277dc00bb2f306d7a73a5345c1ed6ad /target/m68k/helper.c | |
parent | target/xtensa: Convert to CPUClass::tlb_fill (diff) | |
download | qemu-c319dc13579a92937bffe02ad2c9f1a550e73973.tar.gz qemu-c319dc13579a92937bffe02ad2c9f1a550e73973.tar.xz qemu-c319dc13579a92937bffe02ad2c9f1a550e73973.zip |
tcg: Use CPUClass::tlb_fill in cputlb.c
We can now use the CPUClass hook instead of a named function.
Create a static tlb_fill function to avoid other changes within
cputlb.c. This also isolates the asserts within. Remove the
named tlb_fill function from all of the targets.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/m68k/helper.c')
-rw-r--r-- | target/m68k/helper.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/target/m68k/helper.c b/target/m68k/helper.c index 862f955f7b..9fc9e646ff 100644 --- a/target/m68k/helper.c +++ b/target/m68k/helper.c @@ -884,14 +884,6 @@ bool m68k_cpu_tlb_fill(CPUState *cs, vaddr address, int size, cpu_loop_exit_restore(cs, retaddr); } -#ifndef CONFIG_USER_ONLY -void tlb_fill(CPUState *cs, target_ulong addr, int size, - MMUAccessType access_type, int mmu_idx, uintptr_t retaddr) -{ - m68k_cpu_tlb_fill(cs, addr, size, access_type, mmu_idx, false, retaddr); -} -#endif - uint32_t HELPER(bitrev)(uint32_t x) { x = ((x >> 1) & 0x55555555u) | ((x << 1) & 0xaaaaaaaau); |