diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-11-06 23:51:08 +0000 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-12-12 18:05:30 +0100 |
commit | 9526486164818f1c59a142dec8a1f09fbf77669c (patch) | |
tree | 7785400e4e3ba3fdfa1bed3e149ea6e8eefb82c9 /target/m68k | |
parent | ad717e6da3852b5729217d7938eecdb81c546114 (diff) | |
download | qemu-9526486164818f1c59a142dec8a1f09fbf77669c.zip qemu-9526486164818f1c59a142dec8a1f09fbf77669c.tar.gz qemu-9526486164818f1c59a142dec8a1f09fbf77669c.tar.bz2 |
hw/m68k/q800: Don't connect two qemu_irqs directly to the same input
The q800 board code connects both of the IRQ outputs of the ESCC
to the same pic[3] 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 PIC 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.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20201106235109.7066-2-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/m68k')
0 files changed, 0 insertions, 0 deletions