1abff1abfSPaolo Bonzinigen = [ 2abff1abfSPaolo Bonzini decodetree.process('sve.decode', extra_args: '--decode=disas_sve'), 3abff1abfSPaolo Bonzini decodetree.process('neon-shared.decode', extra_args: '--static-decode=disas_neon_shared'), 4abff1abfSPaolo Bonzini decodetree.process('neon-dp.decode', extra_args: '--static-decode=disas_neon_dp'), 5abff1abfSPaolo Bonzini decodetree.process('neon-ls.decode', extra_args: '--static-decode=disas_neon_ls'), 6abff1abfSPaolo Bonzini decodetree.process('vfp.decode', extra_args: '--static-decode=disas_vfp'), 7abff1abfSPaolo Bonzini decodetree.process('vfp-uncond.decode', extra_args: '--static-decode=disas_vfp_uncond'), 8a3494d46SPeter Maydell decodetree.process('m-nocp.decode', extra_args: '--static-decode=disas_m_nocp'), 9abff1abfSPaolo Bonzini decodetree.process('a32.decode', extra_args: '--static-decode=disas_a32'), 10abff1abfSPaolo Bonzini decodetree.process('a32-uncond.decode', extra_args: '--static-decode=disas_a32_uncond'), 11abff1abfSPaolo Bonzini decodetree.process('t32.decode', extra_args: '--static-decode=disas_t32'), 12abff1abfSPaolo Bonzini decodetree.process('t16.decode', extra_args: ['-w', '16', '--static-decode=disas_t16']), 13abff1abfSPaolo Bonzini] 14abff1abfSPaolo Bonzini 15abff1abfSPaolo Bonziniarm_ss = ss.source_set() 16abff1abfSPaolo Bonziniarm_ss.add(gen) 17abff1abfSPaolo Bonziniarm_ss.add(files( 18abff1abfSPaolo Bonzini 'cpu.c', 19abff1abfSPaolo Bonzini 'crypto_helper.c', 20abff1abfSPaolo Bonzini 'debug_helper.c', 21abff1abfSPaolo Bonzini 'gdbstub.c', 22abff1abfSPaolo Bonzini 'helper.c', 23abff1abfSPaolo Bonzini 'iwmmxt_helper.c', 24abff1abfSPaolo Bonzini 'm_helper.c', 25abff1abfSPaolo Bonzini 'neon_helper.c', 26abff1abfSPaolo Bonzini 'op_helper.c', 27abff1abfSPaolo Bonzini 'tlb_helper.c', 28abff1abfSPaolo Bonzini 'translate.c', 29abff1abfSPaolo Bonzini 'vec_helper.c', 30abff1abfSPaolo Bonzini 'vfp_helper.c', 31abff1abfSPaolo Bonzini 'cpu_tcg.c', 32abff1abfSPaolo Bonzini)) 33abff1abfSPaolo Bonziniarm_ss.add(zlib) 34abff1abfSPaolo Bonzini 35abff1abfSPaolo Bonziniarm_ss.add(when: 'CONFIG_TCG', if_true: files('arm-semi.c')) 36abff1abfSPaolo Bonzini 37*82bf7ae8SPeter Maydellarm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c')) 38abff1abfSPaolo Bonzini 39abff1abfSPaolo Bonziniarm_ss.add(when: 'TARGET_AARCH64', if_true: files( 40abff1abfSPaolo Bonzini 'cpu64.c', 41abff1abfSPaolo Bonzini 'gdbstub64.c', 42abff1abfSPaolo Bonzini 'helper-a64.c', 43abff1abfSPaolo Bonzini 'mte_helper.c', 44abff1abfSPaolo Bonzini 'pauth_helper.c', 45abff1abfSPaolo Bonzini 'sve_helper.c', 46abff1abfSPaolo Bonzini 'translate-a64.c', 47abff1abfSPaolo Bonzini 'translate-sve.c', 48abff1abfSPaolo Bonzini)) 49abff1abfSPaolo Bonzini 50abff1abfSPaolo Bonziniarm_softmmu_ss = ss.source_set() 51abff1abfSPaolo Bonziniarm_softmmu_ss.add(files( 52abff1abfSPaolo Bonzini 'arch_dump.c', 53abff1abfSPaolo Bonzini 'arm-powerctl.c', 54abff1abfSPaolo Bonzini 'machine.c', 55abff1abfSPaolo Bonzini 'monitor.c', 56abff1abfSPaolo Bonzini 'psci.c', 57abff1abfSPaolo Bonzini)) 58abff1abfSPaolo Bonzini 59abff1abfSPaolo Bonzinitarget_arch += {'arm': arm_ss} 60abff1abfSPaolo Bonzinitarget_softmmu_arch += {'arm': arm_softmmu_ss} 61