From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrnwt-0002NN-Rr for qemu-devel@nongnu.org; Mon, 11 May 2015 09:40:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrnws-0000eH-0t for qemu-devel@nongnu.org; Mon, 11 May 2015 09:40:47 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrnwr-0000ZY-G4 for qemu-devel@nongnu.org; Mon, 11 May 2015 09:40:45 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Yrnwl-0005fm-Eu for qemu-devel@nongnu.org; Mon, 11 May 2015 14:40:39 +0100 From: Peter Maydell Date: Mon, 11 May 2015 14:40:38 +0100 Message-Id: <1431351638-21705-20-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1431351638-21705-1-git-send-email-peter.maydell@linaro.org> References: <1431351638-21705-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PULL 19/19] hw/arm/highbank.c: Wire FIQ between CPU <> GIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Connect FIQ output of the GIC CPU interfaces to the CPUs. Signed-off-by: Peter Maydell Message-id: 1430502643-25909-18-git-send-email-peter.maydell@linaro.org --- hw/arm/highbank.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index b2d048b..f8353a7 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -217,6 +217,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id) qemu_irq pic[128]; int n; qemu_irq cpu_irq[4]; + qemu_irq cpu_fiq[4]; MemoryRegion *sysram; MemoryRegion *dram; MemoryRegion *sysmem; @@ -269,6 +270,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id) exit(1); } cpu_irq[n] = qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_IRQ); + cpu_fiq[n] = qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_FIQ); } sysmem = get_system_memory(); @@ -313,6 +315,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id) sysbus_mmio_map(busdev, 0, MPCORE_PERIPHBASE); for (n = 0; n < smp_cpus; n++) { sysbus_connect_irq(busdev, n, cpu_irq[n]); + sysbus_connect_irq(busdev, n + smp_cpus, cpu_fiq[n]); } for (n = 0; n < 128; n++) { -- 1.9.1