qemu/hw/openrisc
Peter Maydell eaca43a0f7 hw/openrisc/openrisc_sim: Abstract out "get IRQ x of CPU y"
We're about to refactor the OpenRISC pic_cpu code in a way that means
that just grabbing the whole qemu_irq[] array of inbound IRQs for a
CPU won't be possible any more.  Abstract out a function for "return
the qemu_irq for IRQ x input of CPU y" so we can more easily replace
the implementation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stafford Horne <shorne@gmail.com>
Message-id: 20201127225127.14770-3-peter.maydell@linaro.org
2020-12-15 12:04:29 +00:00
..
cputimer.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
Kconfig hw/openrisc/openrisc_sim: Use IRQ splitter when connecting IRQ to multiple CPUs 2020-12-15 12:04:29 +00:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
openrisc_sim.c hw/openrisc/openrisc_sim: Abstract out "get IRQ x of CPU y" 2020-12-15 12:04:29 +00:00
pic_cpu.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00