target/mips: Move tlb_helper.c to tcg/sysemu/
commit920b48cc14fe44a466f7387263993e86b4e21bce
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 13 Apr 2021 09:46:18 +0000 (13 11:46 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 2 May 2021 14:49:35 +0000 (2 16:49 +0200)
tree306f17548d0f096a31b66d724942f741d2171b80
parentc284201702386b159277422318e51697647a2047
target/mips: Move tlb_helper.c to tcg/sysemu/

Move tlb_helper.c to the tcg/sysemu/ subdir, along with
the following 3 declarations to tcg-internal.h:
- cpu_mips_tlb_flush()
- cpu_mips_translate_address()
- r4k_invalidate_tlb()

Simplify tlb_helper.c #ifdef'ry because files in tcg/sysemu/
are only build when sysemu mode is configured.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-22-f4bug@amsat.org>
target/mips/internal.h
target/mips/meson.build
target/mips/tcg/sysemu/meson.build
target/mips/tcg/sysemu/tlb_helper.c [moved from target/mips/tlb_helper.c with 99% similarity]
target/mips/tcg/tcg-internal.h