mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
770c58f8d1
The ARM GICv2m widget is a little device that handles MSI interrupt writes to a trigger register and ties them to a range of interrupt lines wires to the GIC. It has a few status/id registers and the interrupt wires, and that's about it. A board instantiates the device by setting the base SPI number and number SPIs for the frame. The base-spi parameter is indexed in the SPI number space only, so base-spi == 0, means IRQ number 32. When a device (the PCI host controller) writes to the trigger register, the payload is the GIC IRQ number, so we have to subtract 32 from that and then index into our frame of SPIs. When instantiating a GICv2m device, tell PCI that we have instantiated something that can deal with MSIs. We rely on the board actually wiring up the GICv2m to the PCI host controller. Reviewed-by: Eric Auger <eric.auger@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Message-id: 1432897270-7780-3-git-send-email-christoffer.dall@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
common-obj-$(CONFIG_HEATHROW_PIC) += heathrow_pic.o
|
|
common-obj-$(CONFIG_I8259) += i8259_common.o i8259.o
|
|
common-obj-$(CONFIG_PL190) += pl190.o
|
|
common-obj-$(CONFIG_PUV3) += puv3_intc.o
|
|
common-obj-$(CONFIG_XILINX) += xilinx_intc.o
|
|
common-obj-$(CONFIG_ETRAXFS) += etraxfs_pic.o
|
|
common-obj-$(CONFIG_IMX) += imx_avic.o
|
|
common-obj-$(CONFIG_LM32) += lm32_pic.o
|
|
common-obj-$(CONFIG_REALVIEW) += realview_gic.o
|
|
common-obj-$(CONFIG_SLAVIO) += slavio_intctl.o
|
|
common-obj-$(CONFIG_IOAPIC) += ioapic_common.o
|
|
common-obj-$(CONFIG_ARM_GIC) += arm_gic_common.o
|
|
common-obj-$(CONFIG_ARM_GIC) += arm_gic.o
|
|
common-obj-$(CONFIG_ARM_GIC) += arm_gicv2m.o
|
|
common-obj-$(CONFIG_OPENPIC) += openpic.o
|
|
|
|
obj-$(CONFIG_APIC) += apic.o apic_common.o
|
|
obj-$(CONFIG_ARM_GIC_KVM) += arm_gic_kvm.o
|
|
obj-$(CONFIG_STELLARIS) += armv7m_nvic.o
|
|
obj-$(CONFIG_EXYNOS4) += exynos4210_gic.o exynos4210_combiner.o
|
|
obj-$(CONFIG_GRLIB) += grlib_irqmp.o
|
|
obj-$(CONFIG_IOAPIC) += ioapic.o
|
|
obj-$(CONFIG_OMAP) += omap_intc.o
|
|
obj-$(CONFIG_OPENPIC_KVM) += openpic_kvm.o
|
|
obj-$(CONFIG_SH4) += sh_intc.o
|
|
obj-$(CONFIG_XICS) += xics.o
|
|
obj-$(CONFIG_XICS_KVM) += xics_kvm.o
|
|
obj-$(CONFIG_ALLWINNER_A10_PIC) += allwinner-a10-pic.o
|
|
obj-$(CONFIG_S390_FLIC) += s390_flic.o
|
|
obj-$(CONFIG_S390_FLIC_KVM) += s390_flic_kvm.o
|