qemu/hw/sparc/Kconfig
Mark Cave-Ayland a879306ca1 sun4m: don't connect two qemu_irqs directly to the same input
The sun4m board code connects both of the IRQ outputs of each ESCC to the
same slavio input 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: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20201219111934.5540-1-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2021-01-06 11:41:37 +00:00

30 lines
409 B
Plaintext

config SUN4M
bool
imply TCX
imply CG3
select CS4231
select ECCMEMCTL
select EMPTY_SLOT
select UNIMP
select ESCC
select ESP
select FDC
select SLAVIO
select LANCE
select M48T59
select STP2000
select CHRP_NVRAM
select OR_IRQ
config LEON3
bool
select GRLIB
config GRLIB
bool
select PTIMER
config SLAVIO
bool
select PTIMER