Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 1 | softmmu_ss.add(files('intc.c')) |
| 2 | softmmu_ss.add(when: 'CONFIG_ARM_GIC', if_true: files( |
| 3 | 'arm_gic.c', |
| 4 | 'arm_gic_common.c', |
| 5 | 'arm_gicv2m.c', |
| 6 | 'arm_gicv3.c', |
| 7 | 'arm_gicv3_common.c', |
| 8 | 'arm_gicv3_dist.c', |
| 9 | 'arm_gicv3_its_common.c', |
| 10 | 'arm_gicv3_redist.c', |
Shashi Mallela | 18f6290 | 2021-09-13 16:07:23 +0100 | [diff] [blame^] | 11 | 'arm_gicv3_its.c', |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 12 | )) |
| 13 | softmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_pic.c')) |
| 14 | softmmu_ss.add(when: 'CONFIG_HEATHROW_PIC', if_true: files('heathrow_pic.c')) |
| 15 | softmmu_ss.add(when: 'CONFIG_I8259', if_true: files('i8259_common.c', 'i8259.c')) |
| 16 | softmmu_ss.add(when: 'CONFIG_IMX', if_true: files('imx_avic.c', 'imx_gpcv2.c')) |
| 17 | softmmu_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic_common.c')) |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 18 | softmmu_ss.add(when: 'CONFIG_OPENPIC', if_true: files('openpic.c')) |
| 19 | softmmu_ss.add(when: 'CONFIG_PL190', if_true: files('pl190.c')) |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 20 | softmmu_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_gic.c')) |
| 21 | softmmu_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_intctl.c')) |
| 22 | softmmu_ss.add(when: 'CONFIG_XILINX', if_true: files('xilinx_intc.c')) |
| 23 | softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP', if_true: files('xlnx-zynqmp-ipi.c')) |
| 24 | softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_PMU', if_true: files('xlnx-pmu-iomod-intc.c')) |
| 25 | |
| 26 | specific_ss.add(when: 'CONFIG_ALLWINNER_A10_PIC', if_true: files('allwinner-a10-pic.c')) |
| 27 | specific_ss.add(when: 'CONFIG_APIC', if_true: files('apic.c', 'apic_common.c')) |
| 28 | specific_ss.add(when: 'CONFIG_ARM_GIC', if_true: files('arm_gicv3_cpuif.c')) |
| 29 | specific_ss.add(when: 'CONFIG_ARM_GIC_KVM', if_true: files('arm_gic_kvm.c')) |
| 30 | specific_ss.add(when: ['CONFIG_ARM_GIC_KVM', 'TARGET_AARCH64'], if_true: files('arm_gicv3_kvm.c', 'arm_gicv3_its_kvm.c')) |
| 31 | specific_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_nvic.c')) |
| 32 | specific_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_vic.c')) |
| 33 | specific_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_gic.c', 'exynos4210_combiner.c')) |
| 34 | specific_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_irqmp.c')) |
| 35 | specific_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_plic.c')) |
| 36 | specific_ss.add(when: 'CONFIG_IOAPIC', if_true: files('ioapic.c')) |
| 37 | specific_ss.add(when: 'CONFIG_LOONGSON_LIOINTC', if_true: files('loongson_liointc.c')) |
| 38 | specific_ss.add(when: 'CONFIG_MIPS_CPS', if_true: files('mips_gic.c')) |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 39 | specific_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_intc.c')) |
| 40 | specific_ss.add(when: 'CONFIG_OMPIC', if_true: files('ompic.c')) |
Greg Kurz | b040e59 | 2020-12-24 18:22:47 +0100 | [diff] [blame] | 41 | specific_ss.add(when: ['CONFIG_KVM', 'CONFIG_OPENPIC'], |
| 42 | if_true: files('openpic_kvm.c')) |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 43 | specific_ss.add(when: 'CONFIG_POWERNV', if_true: files('xics_pnv.c', 'pnv_xive.c')) |
Peter Maydell | 34d0831 | 2020-12-12 00:15:31 +0000 | [diff] [blame] | 44 | specific_ss.add(when: 'CONFIG_PPC_UIC', if_true: files('ppc-uic.c')) |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 45 | specific_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_ic.c', 'bcm2836_control.c')) |
| 46 | specific_ss.add(when: 'CONFIG_RX_ICU', if_true: files('rx_icu.c')) |
| 47 | specific_ss.add(when: 'CONFIG_S390_FLIC', if_true: files('s390_flic.c')) |
| 48 | specific_ss.add(when: 'CONFIG_S390_FLIC_KVM', if_true: files('s390_flic_kvm.c')) |
Philippe Mathieu-Daudé | 5d07a69 | 2021-02-21 19:50:50 +0100 | [diff] [blame] | 49 | specific_ss.add(when: 'CONFIG_SH_INTC', if_true: files('sh_intc.c')) |
Bin Meng | 406fafd | 2020-09-03 18:40:16 +0800 | [diff] [blame] | 50 | specific_ss.add(when: 'CONFIG_SIFIVE_CLINT', if_true: files('sifive_clint.c')) |
Bin Meng | 84fcf3c | 2020-09-03 18:40:17 +0800 | [diff] [blame] | 51 | specific_ss.add(when: 'CONFIG_SIFIVE_PLIC', if_true: files('sifive_plic.c')) |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 52 | specific_ss.add(when: 'CONFIG_XICS', if_true: files('xics.c')) |
Greg Kurz | b040e59 | 2020-12-24 18:22:47 +0100 | [diff] [blame] | 53 | specific_ss.add(when: ['CONFIG_KVM', 'CONFIG_XICS'], |
| 54 | if_true: files('xics_kvm.c')) |
Greg Kurz | 27d5cae | 2020-12-24 18:22:55 +0100 | [diff] [blame] | 55 | specific_ss.add(when: 'CONFIG_PSERIES', if_true: files('xics_spapr.c', 'spapr_xive.c')) |
Marc-André Lureau | bff065a | 2019-08-16 18:36:51 +0400 | [diff] [blame] | 56 | specific_ss.add(when: 'CONFIG_XIVE', if_true: files('xive.c')) |
Greg Kurz | b040e59 | 2020-12-24 18:22:47 +0100 | [diff] [blame] | 57 | specific_ss.add(when: ['CONFIG_KVM', 'CONFIG_XIVE'], |
| 58 | if_true: files('spapr_xive_kvm.c')) |
Laurent Vivier | 8785559 | 2021-03-12 22:41:42 +0100 | [diff] [blame] | 59 | specific_ss.add(when: 'CONFIG_GOLDFISH_PIC', if_true: files('goldfish_pic.c')) |
Laurent Vivier | 2fde99e | 2021-03-12 22:41:43 +0100 | [diff] [blame] | 60 | specific_ss.add(when: 'CONFIG_M68K_IRQC', if_true: files('m68k_irqc.c')) |