aboutsummaryrefslogtreecommitdiff
path: root/hw/char
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-11-07 20:34:02 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-11-10 11:03:48 +0000
commit498661dd22a1b60461e41d256a7197fea3c4ff0e (patch)
tree0d69ccb773d282ea929b6b789f963f7b9bf9be88 /hw/char
parentbdad3654d3c55f478e538037d9eccd204e5fc8ee (diff)
downloadqemu-498661dd22a1b60461e41d256a7197fea3c4ff0e.zip
qemu-498661dd22a1b60461e41d256a7197fea3c4ff0e.tar.gz
qemu-498661dd22a1b60461e41d256a7197fea3c4ff0e.tar.bz2
hw/arm/musicpal: Don't connect two qemu_irqs directly to the same input
The MusicPal board code connects both of the IRQ outputs of the UART to the same INTC qemu_irq. Connecting two qemu_irqs outputs directly to the same input is not valid as it produces subtly wrong behaviour (for instance if both the IRQ lines are high, and then one goes low, the INTC input will see this as a high-to-low transition even though the second IRQ line should still be holding it high). This kind of wiring needs an explicitly created OR gate; add one. Inspired-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201107193403.436146-5-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/char')
0 files changed, 0 insertions, 0 deletions