diff options
author | Alistair Francis <Alistair.Francis@wdc.com> | 2018-12-11 22:37:17 +0000 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-12-20 11:45:20 -0800 |
commit | 63b695f2aa505d11542ecd8a272d42019a37a676 (patch) | |
tree | a62d99bc88357102a71d00acfd372b0d79043cf7 /include/hw/riscv/virt.h | |
parent | b72566a4ffaddbc0c0c1f6f5ee91b42ab13ff429 (diff) | |
download | qemu-63b695f2aa505d11542ecd8a272d42019a37a676.zip qemu-63b695f2aa505d11542ecd8a272d42019a37a676.tar.gz qemu-63b695f2aa505d11542ecd8a272d42019a37a676.tar.bz2 |
hw/riscv/virt: Increase the number of interrupts
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>
Diffstat (limited to 'include/hw/riscv/virt.h')
-rw-r--r-- | include/hw/riscv/virt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/riscv/virt.h b/include/hw/riscv/virt.h index 91163d6..2b2e6dd 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 { |