From: Alistair Francis Date: Tue, 11 Dec 2018 22:37:17 +0000 (+0000) Subject: hw/riscv/virt: Increase the number of interrupts X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=63b695f2aa505d11542ecd8a272d42019a37a676;p=qemu.git hw/riscv/virt: Increase the number of interrupts Increase the number of interrupts to match the HiFive Unleashed board. Signed-off-by: Alistair Francis Tested-by: Guenter Roeck Tested-by: Andrea Bolognani Signed-off-by: Palmer Dabbelt --- diff --git a/include/hw/riscv/virt.h b/include/hw/riscv/virt.h index 91163d6cbf..2b2e6dd4ea 100644 --- a/include/hw/riscv/virt.h +++ b/include/hw/riscv/virt.h @@ -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 {