diff options
author | Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br> | 2021-07-23 14:56:25 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-08-27 12:41:13 +1000 |
commit | 5118ebe8396d2b98217b3d4719e3a420dfb0a929 (patch) | |
tree | d8640fe59ca6310a74d8aa477ec048ea1c9777f2 /target/ppc/meson.build | |
parent | a4e4c4b45f39082f581e8bf71fb1cb06bdb8a4c6 (diff) | |
download | qemu-5118ebe8396d2b98217b3d4719e3a420dfb0a929.zip qemu-5118ebe8396d2b98217b3d4719e3a420dfb0a929.tar.gz qemu-5118ebe8396d2b98217b3d4719e3a420dfb0a929.tar.bz2 |
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>
Diffstat (limited to 'target/ppc/meson.build')
-rw-r--r-- | target/ppc/meson.build | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/ppc/meson.build b/target/ppc/meson.build index a4f18ff..b85f295 100644 --- a/target/ppc/meson.build +++ b/target/ppc/meson.build @@ -37,11 +37,13 @@ ppc_softmmu_ss.add(files( 'arch_dump.c', 'machine.c', 'mmu-hash32.c', - 'mmu_helper.c', + 'mmu_common.c', 'monitor.c', )) -ppc_softmmu_ss.add(when: 'CONFIG_TCG', if_false: files( - 'tcg-stub.c' +ppc_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files( + 'mmu_helper.c', +), if_false: files( + 'tcg-stub.c', )) ppc_softmmu_ss.add(when: 'TARGET_PPC64', if_true: files( |