OSDN Git Service

hw/isa/i82378: Remove intermediate IRQ forwarder
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 10 Feb 2023 15:05:34 +0000 (16:05 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000 (22:29 +0100)
commitcef2e7148e32d61338de0220619d308bf42af770
tree15183cdc115d5af38170b619bd2b64f4fb671f52
parent08d8bf4fe34b2731948ced89bf0aa80fe31f85fe
hw/isa/i82378: Remove intermediate IRQ forwarder

When the i82378 model was added in commit a04ff940974 ("prep:
Add i82378 PCI-to-ISA bridge emulation") the i8259 model was
not yet QOM'ified. This happened later in commit 747c70af78f
("i8259: Convert to qdev").

Directly dispatch ISA IRQs to 'cpu_intr' output IRQ
by removing the intermediate i82378_request_out0_irq()
handler. Rename ISA IRQs array as 'isa_irqs_in' to
emphasize these are input IRQs.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-4-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/isa/i82378.c