diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-11-27 22:51:25 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-12-15 12:04:29 +0000 |
commit | 1eeffbeb1114441cb1822ce0af952a283e008f31 (patch) | |
tree | 6535f28e38a5cf59c1629197616da8917332c9f2 /hw/rtc | |
parent | 3ddd9036389f5f577e09e1d2f54f8c384660b5ef (diff) | |
download | qemu-1eeffbeb1114441cb1822ce0af952a283e008f31.zip qemu-1eeffbeb1114441cb1822ce0af952a283e008f31.tar.gz qemu-1eeffbeb1114441cb1822ce0af952a283e008f31.tar.bz2 |
hw/openrisc/openrisc_sim: Use IRQ splitter when connecting IRQ to multiple CPUs
openrisc_sim_net_init() attempts to connect the IRQ line from the
ethernet device to both CPUs in an SMP configuration by simply caling
sysbus_connect_irq() for it twice. This doesn't work, because the
second connection simply overrides the first.
Fix this by creating a TYPE_SPLIT_IRQ to split the IRQ in the SMP
case.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stafford Horne <shorne@gmail.com>
Message-id: 20201127225127.14770-2-peter.maydell@linaro.org
Diffstat (limited to 'hw/rtc')
0 files changed, 0 insertions, 0 deletions