mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
meson: Replace softmmu_ss -> system_ss
We use the user_ss[] array to hold the user emulation sources, and the softmmu_ss[] array to hold the system emulation ones. Hold the latter in the 'system_ss[]' array for parity with user emulation. Mechanical change doing: $ sed -i -e s/softmmu_ss/system_ss/g $(git grep -l softmmu_ss) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230613133347.82210-10-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c7b64948f8
commit
de6cd7599b
101 changed files with 706 additions and 706 deletions
|
@ -11,8 +11,8 @@ alpha_ss.add(files(
|
|||
'vax_helper.c',
|
||||
))
|
||||
|
||||
alpha_softmmu_ss = ss.source_set()
|
||||
alpha_softmmu_ss.add(files('machine.c'))
|
||||
alpha_system_ss = ss.source_set()
|
||||
alpha_system_ss.add(files('machine.c'))
|
||||
|
||||
target_arch += {'alpha': alpha_ss}
|
||||
target_softmmu_arch += {'alpha': alpha_softmmu_ss}
|
||||
target_softmmu_arch += {'alpha': alpha_system_ss}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
arm_softmmu_ss.add(when: [hvf, 'CONFIG_HVF'], if_true: files(
|
||||
arm_system_ss.add(when: [hvf, 'CONFIG_HVF'], if_true: files(
|
||||
'hvf.c',
|
||||
))
|
||||
|
|
|
@ -16,8 +16,8 @@ arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
|||
'gdbstub64.c',
|
||||
))
|
||||
|
||||
arm_softmmu_ss = ss.source_set()
|
||||
arm_softmmu_ss.add(files(
|
||||
arm_system_ss = ss.source_set()
|
||||
arm_system_ss.add(files(
|
||||
'arch_dump.c',
|
||||
'arm-powerctl.c',
|
||||
'arm-qmp-cmds.c',
|
||||
|
@ -35,4 +35,4 @@ else
|
|||
endif
|
||||
|
||||
target_arch += {'arm': arm_ss}
|
||||
target_softmmu_arch += {'arm': arm_softmmu_ss}
|
||||
target_softmmu_arch += {'arm': arm_system_ss}
|
||||
|
|
|
@ -48,6 +48,6 @@ arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
|
|||
'sve_helper.c',
|
||||
))
|
||||
|
||||
arm_softmmu_ss.add(files(
|
||||
arm_system_ss.add(files(
|
||||
'psci.c',
|
||||
))
|
||||
|
|
|
@ -4,7 +4,7 @@ gen = [
|
|||
]
|
||||
|
||||
avr_ss = ss.source_set()
|
||||
avr_softmmu_ss = ss.source_set()
|
||||
avr_system_ss = ss.source_set()
|
||||
|
||||
avr_ss.add(gen)
|
||||
avr_ss.add(files(
|
||||
|
@ -14,7 +14,7 @@ avr_ss.add(files(
|
|||
'gdbstub.c',
|
||||
'disas.c'))
|
||||
|
||||
avr_softmmu_ss.add(files('machine.c'))
|
||||
avr_system_ss.add(files('machine.c'))
|
||||
|
||||
target_arch += {'avr': avr_ss}
|
||||
target_softmmu_arch += {'avr': avr_softmmu_ss}
|
||||
target_softmmu_arch += {'avr': avr_system_ss}
|
||||
|
|
|
@ -6,12 +6,12 @@ cris_ss.add(files(
|
|||
'translate.c',
|
||||
))
|
||||
|
||||
cris_softmmu_ss = ss.source_set()
|
||||
cris_softmmu_ss.add(files(
|
||||
cris_system_ss = ss.source_set()
|
||||
cris_system_ss.add(files(
|
||||
'helper.c',
|
||||
'machine.c',
|
||||
'mmu.c',
|
||||
))
|
||||
|
||||
target_arch += {'cris': cris_ss}
|
||||
target_softmmu_arch += {'cris': cris_softmmu_ss}
|
||||
target_softmmu_arch += {'cris': cris_system_ss}
|
||||
|
|
|
@ -11,8 +11,8 @@ hppa_ss.add(files(
|
|||
'translate.c',
|
||||
))
|
||||
|
||||
hppa_softmmu_ss = ss.source_set()
|
||||
hppa_softmmu_ss.add(files(
|
||||
hppa_system_ss = ss.source_set()
|
||||
hppa_system_ss.add(files(
|
||||
'int_helper.c',
|
||||
'machine.c',
|
||||
'mem_helper.c',
|
||||
|
@ -20,4 +20,4 @@ hppa_softmmu_ss.add(files(
|
|||
))
|
||||
|
||||
target_arch += {'hppa': hppa_ss}
|
||||
target_softmmu_arch += {'hppa': hppa_softmmu_ss}
|
||||
target_softmmu_arch += {'hppa': hppa_system_ss}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
i386_softmmu_ss.add(when: 'CONFIG_HAX', if_true: files(
|
||||
i386_system_ss.add(when: 'CONFIG_HAX', if_true: files(
|
||||
'hax-all.c',
|
||||
'hax-mem.c',
|
||||
'hax-accel-ops.c',
|
||||
))
|
||||
i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_POSIX'], if_true: files('hax-posix.c'))
|
||||
i386_softmmu_ss.add(when: ['CONFIG_HAX', 'CONFIG_WIN32'], if_true: files('hax-windows.c'))
|
||||
i386_system_ss.add(when: ['CONFIG_HAX', 'CONFIG_POSIX'], if_true: files('hax-posix.c'))
|
||||
i386_system_ss.add(when: ['CONFIG_HAX', 'CONFIG_WIN32'], if_true: files('hax-windows.c'))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
i386_softmmu_ss.add(when: [hvf, 'CONFIG_HVF'], if_true: files(
|
||||
i386_system_ss.add(when: [hvf, 'CONFIG_HVF'], if_true: files(
|
||||
'hvf.c',
|
||||
'x86.c',
|
||||
'x86_cpuid.c',
|
||||
|
|
|
@ -11,6 +11,6 @@ i386_softmmu_kvm_ss.add(when: 'CONFIG_XEN_EMU', if_true: files('xen-emu.c'))
|
|||
|
||||
i386_softmmu_kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))
|
||||
|
||||
i386_softmmu_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
|
||||
i386_system_ss.add(when: 'CONFIG_HYPERV', if_true: files('hyperv.c'), if_false: files('hyperv-stub.c'))
|
||||
|
||||
i386_softmmu_ss.add_all(when: 'CONFIG_KVM', if_true: i386_softmmu_kvm_ss)
|
||||
i386_system_ss.add_all(when: 'CONFIG_KVM', if_true: i386_softmmu_kvm_ss)
|
||||
|
|
|
@ -12,15 +12,15 @@ i386_ss.add(when: 'CONFIG_SEV', if_true: files('host-cpu.c'))
|
|||
i386_ss.add(when: 'CONFIG_KVM', if_true: files('host-cpu.c'))
|
||||
i386_ss.add(when: 'CONFIG_HVF', if_true: files('host-cpu.c'))
|
||||
|
||||
i386_softmmu_ss = ss.source_set()
|
||||
i386_softmmu_ss.add(files(
|
||||
i386_system_ss = ss.source_set()
|
||||
i386_system_ss.add(files(
|
||||
'arch_dump.c',
|
||||
'arch_memory_mapping.c',
|
||||
'machine.c',
|
||||
'monitor.c',
|
||||
'cpu-sysemu.c',
|
||||
))
|
||||
i386_softmmu_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-sysemu-stub.c'))
|
||||
i386_system_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-sysemu-stub.c'))
|
||||
|
||||
i386_user_ss = ss.source_set()
|
||||
|
||||
|
@ -32,5 +32,5 @@ subdir('hvf')
|
|||
subdir('tcg')
|
||||
|
||||
target_arch += {'i386': i386_ss}
|
||||
target_softmmu_arch += {'i386': i386_softmmu_ss}
|
||||
target_softmmu_arch += {'i386': i386_system_ss}
|
||||
target_user_arch += {'i386': i386_user_ss}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
i386_softmmu_ss.add(when: 'CONFIG_NVMM', if_true:
|
||||
i386_system_ss.add(when: 'CONFIG_NVMM', if_true:
|
||||
files(
|
||||
'nvmm-all.c',
|
||||
'nvmm-accel-ops.c',
|
||||
)
|
||||
)
|
||||
|
||||
i386_softmmu_ss.add(when: 'CONFIG_NVMM', if_true: nvmm)
|
||||
i386_system_ss.add(when: 'CONFIG_NVMM', if_true: nvmm)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
i386_softmmu_ss.add(when: ['CONFIG_TCG', 'CONFIG_SYSTEM_ONLY'], if_true: files(
|
||||
i386_system_ss.add(when: ['CONFIG_TCG', 'CONFIG_SYSTEM_ONLY'], if_true: files(
|
||||
'tcg-cpu.c',
|
||||
'smm_helper.c',
|
||||
'excp_helper.c',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
i386_softmmu_ss.add(when: 'CONFIG_WHPX', if_true: files(
|
||||
i386_system_ss.add(when: 'CONFIG_WHPX', if_true: files(
|
||||
'whpx-all.c',
|
||||
'whpx-apic.c',
|
||||
'whpx-accel-ops.c',
|
||||
|
|
|
@ -15,8 +15,8 @@ loongarch_tcg_ss.add(files(
|
|||
))
|
||||
loongarch_tcg_ss.add(zlib)
|
||||
|
||||
loongarch_softmmu_ss = ss.source_set()
|
||||
loongarch_softmmu_ss.add(files(
|
||||
loongarch_system_ss = ss.source_set()
|
||||
loongarch_system_ss.add(files(
|
||||
'loongarch-qmp-cmds.c',
|
||||
'machine.c',
|
||||
'tlb_helper.c',
|
||||
|
@ -30,4 +30,4 @@ common_ss.add(when: 'CONFIG_LOONGARCH_DIS', if_true: [files('disas.c'), gen])
|
|||
loongarch_ss.add_all(when: 'CONFIG_TCG', if_true: [loongarch_tcg_ss])
|
||||
|
||||
target_arch += {'loongarch': loongarch_ss}
|
||||
target_softmmu_arch += {'loongarch': loongarch_softmmu_ss}
|
||||
target_softmmu_arch += {'loongarch': loongarch_system_ss}
|
||||
|
|
|
@ -9,11 +9,11 @@ m68k_ss.add(files(
|
|||
'translate.c',
|
||||
))
|
||||
|
||||
m68k_softmmu_ss = ss.source_set()
|
||||
m68k_softmmu_ss.add(files(
|
||||
m68k_system_ss = ss.source_set()
|
||||
m68k_system_ss.add(files(
|
||||
'm68k-semi.c',
|
||||
'monitor.c'
|
||||
))
|
||||
|
||||
target_arch += {'m68k': m68k_ss}
|
||||
target_softmmu_arch += {'m68k': m68k_softmmu_ss}
|
||||
target_softmmu_arch += {'m68k': m68k_system_ss}
|
||||
|
|
|
@ -10,11 +10,11 @@ microblaze_ss.add(files(
|
|||
'translate.c',
|
||||
))
|
||||
|
||||
microblaze_softmmu_ss = ss.source_set()
|
||||
microblaze_softmmu_ss.add(files(
|
||||
microblaze_system_ss = ss.source_set()
|
||||
microblaze_system_ss.add(files(
|
||||
'mmu.c',
|
||||
'machine.c',
|
||||
))
|
||||
|
||||
target_arch += {'microblaze': microblaze_ss}
|
||||
target_softmmu_arch += {'microblaze': microblaze_softmmu_ss}
|
||||
target_softmmu_arch += {'microblaze': microblaze_system_ss}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
mips_user_ss = ss.source_set()
|
||||
mips_softmmu_ss = ss.source_set()
|
||||
mips_system_ss = ss.source_set()
|
||||
mips_ss = ss.source_set()
|
||||
mips_ss.add(files(
|
||||
'cpu.c',
|
||||
|
@ -19,5 +19,5 @@ endif
|
|||
mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
|
||||
|
||||
target_arch += {'mips': mips_ss}
|
||||
target_softmmu_arch += {'mips': mips_softmmu_ss}
|
||||
target_softmmu_arch += {'mips': mips_system_ss}
|
||||
target_user_arch += {'mips': mips_user_ss}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
mips_softmmu_ss.add(files(
|
||||
mips_system_ss.add(files(
|
||||
'addr.c',
|
||||
'cp0.c',
|
||||
'cp0_timer.c',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
mips_softmmu_ss.add(files(
|
||||
mips_system_ss.add(files(
|
||||
'cp0_helper.c',
|
||||
'mips-semi.c',
|
||||
'special_helper.c',
|
||||
|
|
|
@ -5,8 +5,8 @@ nios2_ss.add(files(
|
|||
'translate.c',
|
||||
))
|
||||
|
||||
nios2_softmmu_ss = ss.source_set()
|
||||
nios2_softmmu_ss.add(files(
|
||||
nios2_system_ss = ss.source_set()
|
||||
nios2_system_ss.add(files(
|
||||
'helper.c',
|
||||
'monitor.c',
|
||||
'mmu.c',
|
||||
|
@ -14,4 +14,4 @@ nios2_softmmu_ss.add(files(
|
|||
))
|
||||
|
||||
target_arch += {'nios2': nios2_ss}
|
||||
target_softmmu_arch += {'nios2': nios2_softmmu_ss}
|
||||
target_softmmu_arch += {'nios2': nios2_system_ss}
|
||||
|
|
|
@ -14,12 +14,12 @@ openrisc_ss.add(files(
|
|||
'translate.c',
|
||||
))
|
||||
|
||||
openrisc_softmmu_ss = ss.source_set()
|
||||
openrisc_softmmu_ss.add(files(
|
||||
openrisc_system_ss = ss.source_set()
|
||||
openrisc_system_ss.add(files(
|
||||
'interrupt.c',
|
||||
'machine.c',
|
||||
'mmu.c',
|
||||
))
|
||||
|
||||
target_arch += {'openrisc': openrisc_ss}
|
||||
target_softmmu_arch += {'openrisc': openrisc_softmmu_ss}
|
||||
target_softmmu_arch += {'openrisc': openrisc_system_ss}
|
||||
|
|
|
@ -33,21 +33,21 @@ ppc_ss.add(gen)
|
|||
ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
|
||||
ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))
|
||||
|
||||
ppc_softmmu_ss = ss.source_set()
|
||||
ppc_softmmu_ss.add(files(
|
||||
ppc_system_ss = ss.source_set()
|
||||
ppc_system_ss.add(files(
|
||||
'arch_dump.c',
|
||||
'machine.c',
|
||||
'mmu-hash32.c',
|
||||
'mmu_common.c',
|
||||
'ppc-qmp-cmds.c',
|
||||
))
|
||||
ppc_softmmu_ss.add(when: 'CONFIG_TCG', if_true: files(
|
||||
ppc_system_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(
|
||||
ppc_system_ss.add(when: 'TARGET_PPC64', if_true: files(
|
||||
'compat.c',
|
||||
'mmu-book3s-v3.c',
|
||||
'mmu-hash64.c',
|
||||
|
@ -55,4 +55,4 @@ ppc_softmmu_ss.add(when: 'TARGET_PPC64', if_true: files(
|
|||
))
|
||||
|
||||
target_arch += {'ppc': ppc_ss}
|
||||
target_softmmu_arch += {'ppc': ppc_softmmu_ss}
|
||||
target_softmmu_arch += {'ppc': ppc_system_ss}
|
||||
|
|
|
@ -24,8 +24,8 @@ riscv_ss.add(files(
|
|||
))
|
||||
riscv_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
|
||||
|
||||
riscv_softmmu_ss = ss.source_set()
|
||||
riscv_softmmu_ss.add(files(
|
||||
riscv_system_ss = ss.source_set()
|
||||
riscv_system_ss.add(files(
|
||||
'arch_dump.c',
|
||||
'pmp.c',
|
||||
'debug.c',
|
||||
|
@ -37,4 +37,4 @@ riscv_softmmu_ss.add(files(
|
|||
))
|
||||
|
||||
target_arch += {'riscv': riscv_ss}
|
||||
target_softmmu_arch += {'riscv': riscv_softmmu_ss}
|
||||
target_softmmu_arch += {'riscv': riscv_system_ss}
|
||||
|
|
|
@ -14,6 +14,6 @@ s390x_ss.add(when: 'CONFIG_KVM', if_true: files(
|
|||
# - KVM is enabled
|
||||
# - the linker supports --s390-pgste
|
||||
if host_machine.cpu_family() == 's390x' and cc.has_link_argument('-Wl,--s390-pgste')
|
||||
s390x_softmmu_ss.add(when: 'CONFIG_KVM',
|
||||
s390x_system_ss.add(when: 'CONFIG_KVM',
|
||||
if_true: declare_dependency(link_args: ['-Wl,--s390-pgste']))
|
||||
endif
|
||||
|
|
|
@ -18,8 +18,8 @@ gen_features_h = custom_target('gen-features.h',
|
|||
|
||||
s390x_ss.add(gen_features_h)
|
||||
|
||||
s390x_softmmu_ss = ss.source_set()
|
||||
s390x_softmmu_ss.add(files(
|
||||
s390x_system_ss = ss.source_set()
|
||||
s390x_system_ss.add(files(
|
||||
'helper.c',
|
||||
'arch_dump.c',
|
||||
'diag.c',
|
||||
|
@ -40,5 +40,5 @@ subdir('tcg')
|
|||
subdir('kvm')
|
||||
|
||||
target_arch += {'s390x': s390x_ss}
|
||||
target_softmmu_arch += {'s390x': s390x_softmmu_ss}
|
||||
target_softmmu_arch += {'s390x': s390x_system_ss}
|
||||
target_user_arch += {'s390x': s390x_user_ss}
|
||||
|
|
|
@ -7,8 +7,8 @@ sh4_ss.add(files(
|
|||
'translate.c',
|
||||
))
|
||||
|
||||
sh4_softmmu_ss = ss.source_set()
|
||||
sh4_softmmu_ss.add(files('monitor.c'))
|
||||
sh4_system_ss = ss.source_set()
|
||||
sh4_system_ss.add(files('monitor.c'))
|
||||
|
||||
target_arch += {'sh4': sh4_ss}
|
||||
target_softmmu_arch += {'sh4': sh4_softmmu_ss}
|
||||
target_softmmu_arch += {'sh4': sh4_system_ss}
|
||||
|
|
|
@ -12,12 +12,12 @@ sparc_ss.add(files(
|
|||
sparc_ss.add(when: 'TARGET_SPARC', if_true: files('int32_helper.c'))
|
||||
sparc_ss.add(when: 'TARGET_SPARC64', if_true: files('int64_helper.c', 'vis_helper.c'))
|
||||
|
||||
sparc_softmmu_ss = ss.source_set()
|
||||
sparc_softmmu_ss.add(files(
|
||||
sparc_system_ss = ss.source_set()
|
||||
sparc_system_ss.add(files(
|
||||
'machine.c',
|
||||
'mmu_helper.c',
|
||||
'monitor.c',
|
||||
))
|
||||
|
||||
target_arch += {'sparc': sparc_ss}
|
||||
target_softmmu_arch += {'sparc': sparc_softmmu_ss}
|
||||
target_softmmu_arch += {'sparc': sparc_system_ss}
|
||||
|
|
|
@ -9,7 +9,7 @@ tricore_ss.add(files(
|
|||
))
|
||||
tricore_ss.add(zlib)
|
||||
|
||||
tricore_softmmu_ss = ss.source_set()
|
||||
tricore_system_ss = ss.source_set()
|
||||
|
||||
target_arch += {'tricore': tricore_ss}
|
||||
target_softmmu_arch += {'tricore': tricore_softmmu_ss}
|
||||
target_softmmu_arch += {'tricore': tricore_system_ss}
|
||||
|
|
|
@ -15,8 +15,8 @@ xtensa_ss.add(files(
|
|||
'xtensa-isa.c',
|
||||
))
|
||||
|
||||
xtensa_softmmu_ss = ss.source_set()
|
||||
xtensa_softmmu_ss.add(files(
|
||||
xtensa_system_ss = ss.source_set()
|
||||
xtensa_system_ss.add(files(
|
||||
'dbg_helper.c',
|
||||
'mmu_helper.c',
|
||||
'monitor.c',
|
||||
|
@ -24,4 +24,4 @@ xtensa_softmmu_ss.add(files(
|
|||
))
|
||||
|
||||
target_arch += {'xtensa': xtensa_ss}
|
||||
target_softmmu_arch += {'xtensa': xtensa_softmmu_ss}
|
||||
target_softmmu_arch += {'xtensa': xtensa_system_ss}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue