qemu-e2k/hw/m68k
Peter Maydell 9526486164 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>
2020-12-12 18:05:30 +01:00
..
Kconfig hw/m68k/q800: Don't connect two qemu_irqs directly to the same input 2020-12-12 18:05:30 +01:00
an5206.c hw/m68k: QOMify the mcf5206 system integration module 2020-09-03 12:47:33 +02:00
bootinfo.h misc: Replace zero-length arrays with flexible array member (automatic) 2020-03-16 22:07:42 +01:00
mcf5206.c m68k: do not use ram_size global 2020-12-10 12:15:08 -05:00
mcf5208.c vl: extract softmmu/datadir.c 2020-12-10 12:15:18 -05:00
mcf_intc.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
next-cube.c m68k: remove bios_name 2020-12-10 12:15:05 -05:00
next-kbd.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
q800.c hw/m68k/q800: Don't connect two qemu_irqs directly to the same input 2020-12-12 18:05:30 +01:00