target/ppc: divided mmu_helper.c in 2 files
commit5118ebe8396d2b98217b3d4719e3a420dfb0a929
authorLucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Fri, 23 Jul 2021 17:56:25 +0000 (23 14:56 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Aug 2021 02:41:13 +0000 (27 12:41 +1000)
treed8640fe59ca6310a74d8aa477ec048ea1c9777f2
parenta4e4c4b45f39082f581e8bf71fb1cb06bdb8a4c6
target/ppc: divided mmu_helper.c in 2 files

Divided mmu_helper.c in 2 files, functions inside #ifdef CONFIG_SOFTMMU
stayed in mmu_helper.c, other functions moved to mmu_common.c. Updated
meson.build to compile mmu_common.c and only compile mmu_helper.c when
CONFIG_TCG is set.
Moved function declarations, #define and structs used by both files to
internal.h except for functions that use structures defined in cpu.h,
those were moved to cpu.h.

Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Message-Id: <20210723175627.72847-2-lucas.araujo@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h
target/ppc/internal.h
target/ppc/meson.build
target/ppc/mmu_common.c [copied from target/ppc/mmu_helper.c with 56% similarity]
target/ppc/mmu_helper.c