1bff065adSMarc-André Lureausoftmmu_ss.add(files('intc.c')) 2bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ARM_GIC', if_true: files( 3bff065adSMarc-André Lureau 'arm_gic.c', 4bff065adSMarc-André Lureau 'arm_gic_common.c', 5bff065adSMarc-André Lureau 'arm_gicv2m.c', 6bff065adSMarc-André Lureau 'arm_gicv3.c', 7bff065adSMarc-André Lureau 'arm_gicv3_common.c', 8bff065adSMarc-André Lureau 'arm_gicv3_dist.c', 9bff065adSMarc-André Lureau 'arm_gicv3_its_common.c', 10bff065adSMarc-André Lureau 'arm_gicv3_redist.c', 11bff065adSMarc-André Lureau)) 12bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_pic.c')) 13bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_HEATHROW_PIC', if_true: files('heathrow_pic.c')) 14bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_I8259', if_true: files('i8259_common.c', 'i8259.c')) 15bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_avic.c', 'imx_gpcv2.c')) 16bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic_common.c')) 17bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_pic.c')) 18bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_OPENPIC', if_true: files('openpic.c')) 19bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_PL190', if_true: files('pl190.c')) 20bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_PUV3', if_true: files('puv3_intc.c')) 21bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_gic.c')) 22bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_intctl.c')) 23bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_XILINX', if_true: files('xilinx_intc.c')) 24bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP', if_true: files('xlnx-zynqmp-ipi.c')) 25bff065adSMarc-André Lureausoftmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_PMU', if_true: files('xlnx-pmu-iomod-intc.c')) 26bff065adSMarc-André Lureau 27bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_ALLWINNER_A10_PIC', if_true: files('allwinner-a10-pic.c')) 28bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_APIC', if_true: files('apic.c', 'apic_common.c')) 29bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_ARM_GIC', if_true: files('arm_gicv3_cpuif.c')) 30bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_ARM_GIC_KVM', if_true: files('arm_gic_kvm.c')) 31bff065adSMarc-André Lureauspecific_ss.add(when: ['CONFIG_ARM_GIC_KVM', 'TARGET_AARCH64'], if_true: files('arm_gicv3_kvm.c', 'arm_gicv3_its_kvm.c')) 32bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_nvic.c')) 33bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_vic.c')) 34bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_gic.c', 'exynos4210_combiner.c')) 35bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_irqmp.c')) 36bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_plic.c')) 37bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c')) 38bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_LOONGSON_LIOINTC', if_true: files('loongson_liointc.c')) 39bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_gic.c')) 40bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_NIOS2', if_true: files('nios2_iic.c')) 41bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_intc.c')) 42bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_OMPIC', if_true: files('ompic.c')) 43bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_OPENPIC_KVM', if_true: files('openpic_kvm.c')) 44bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_POWERNV', if_true: files('xics_pnv.c', 'pnv_xive.c')) 45bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_ic.c', 'bcm2836_control.c')) 46bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_RX_ICU', if_true: files('rx_icu.c')) 47bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_S390_FLIC', if_true: files('s390_flic.c')) 48bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_S390_FLIC_KVM', if_true: files('s390_flic_kvm.c')) 49bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_SH4', if_true: files('sh_intc.c')) 50*406fafd5SBin Mengspecific_ss.add(when: 'CONFIG_SIFIVE_CLINT', if_true: files('sifive_clint.c')) 51bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_XICS', if_true: files('xics.c')) 52bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_XICS_KVM', if_true: files('xics_kvm.c')) 53bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_XICS_SPAPR', if_true: files('xics_spapr.c')) 54bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_XIVE', if_true: files('xive.c')) 55bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_XIVE_KVM', if_true: files('spapr_xive_kvm.c')) 56bff065adSMarc-André Lureauspecific_ss.add(when: 'CONFIG_XIVE_SPAPR', if_true: files('spapr_xive.c')) 57