This patch series aims to clean up some of the code in mmu-hash64.c and mmu_helper.c, including removing the includes inside ifdef of those files.
Helpers are in mmu_helper.c now and code that is needed in a !TCG build are in mmu-hash64.c and mmu_common.c. Comments are welcome, thanks, Lucas Mateus. Based-on: 558f3e1031caf539b74d2891f6a8fb491735a1ac Lucas Mateus Castro (alqotel) (4): target/ppc: Don't compile ppc_tlb_invalid_all without TCG target/ppc: divided mmu_helper.c in 2 files target/ppc: moved ppc_store_sdr1 to mmu_common.c target/ppc: Moved helpers to mmu_helper.c target/ppc/cpu.c | 28 - target/ppc/cpu.h | 35 + target/ppc/cpu_init.c | 4 + target/ppc/internal.h | 26 + target/ppc/meson.build | 6 +- target/ppc/mmu-hash64.c | 219 +---- target/ppc/mmu-hash64.h | 1 + target/ppc/mmu_common.c | 1634 +++++++++++++++++++++++++++++++ target/ppc/mmu_helper.c | 2023 ++++++--------------------------------- 9 files changed, 2019 insertions(+), 1957 deletions(-) create mode 100644 target/ppc/mmu_common.c -- 2.17.1