]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Use CPUClass::tlb_fill in cputlb.c
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Apr 2019 02:07:11 +0000 (09:07 +0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 10 May 2019 18:12:50 +0000 (11:12 -0700)
commitc319dc13579a92937bffe02ad2c9f1a550e73973
tree0b20168d6277dc00bb2f306d7a73a5345c1ed6ad
parentb008c45612f652edb8cae8ec9620a3f57b2500e3
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>
22 files changed:
accel/tcg/cputlb.c
include/exec/exec-all.h
target/alpha/helper.c
target/arm/helper.c
target/cris/helper.c
target/hppa/mem_helper.c
target/i386/excp_helper.c
target/lm32/helper.c
target/m68k/helper.c
target/microblaze/helper.c
target/mips/helper.c
target/moxie/helper.c
target/nios2/helper.c
target/openrisc/mmu.c
target/ppc/mmu_helper.c
target/riscv/cpu_helper.c
target/s390x/excp_helper.c
target/sh4/helper.c
target/sparc/ldst_helper.c
target/tricore/helper.c
target/unicore32/softmmu.c
target/xtensa/helper.c