]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
hw/riscv/virt: Increase the number of interrupts
authorAlistair Francis <Alistair.Francis@wdc.com>
Tue, 11 Dec 2018 22:37:17 +0000 (22:37 +0000)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 20 Dec 2018 19:45:20 +0000 (11:45 -0800)
Increase the number of interrupts to match the HiFive Unleashed board.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
include/hw/riscv/virt.h

index 91163d6cbfe8b23c6999ba3d43b5c5adb7f85390..2b2e6dd4ea6bc461e12a0481e2018591be581e69 100644 (file)
@@ -45,7 +45,7 @@ enum {
     UART0_IRQ = 10,
     VIRTIO_IRQ = 1, /* 1 to 8 */
     VIRTIO_COUNT = 8,
-    VIRTIO_NDEV = 10
+    VIRTIO_NDEV = 0x35 /* Arbitrary maximum number of interrupts */
 };
 
 enum {