target-arm: Add the GICv2m to the virt board
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 2 Jun 2015 13:56:23 +0000 (14:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 Jun 2015 13:56:25 +0000 (14:56 +0100)
commitbd204e63a7ce9d1b5c5903c9033863b179194989
treecb5938e63dad2973ddede828ab772086caa24f33
parentdfd90a87155882d92a3efa6da9afc773fd8c6796
target-arm: Add the GICv2m to the virt board

Add a GICv2m device to the virt board to enable MSIs on the generic PCI
host controller.  We allocate 64 SPIs in the IRQ space for now (this can
be increased/decreased later) and map the GICv2m right after the GIC in
the memory map.

Reviewed-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1432897270-7780-5-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c
include/hw/arm/virt.h