On 2/10/23 06:37, Philippe Mathieu-Daudé wrote:
From: Philippe Mathieu-Daudé<f4...@amsat.org>

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é<f4...@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  hw/isa/i82378.c | 15 ++++-----------
  1 file changed, 4 insertions(+), 11 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to