]> Git Repo - qemu.git/commit
hw/openrisc/openrisc_sim: Abstract out "get IRQ x of CPU y"
authorPeter Maydell <[email protected]>
Fri, 27 Nov 2020 22:51:26 +0000 (22:51 +0000)
committerPeter Maydell <[email protected]>
Tue, 15 Dec 2020 12:04:29 +0000 (12:04 +0000)
commiteaca43a0f7a3548a527e74b7d14d69eeb31dc339
tree893b7dc8b0d2f6976f49e57b375a324855abaacf
parent1eeffbeb1114441cb1822ce0af952a283e008f31
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 <[email protected]>
Reviewed-by: Stafford Horne <[email protected]>
Message-id: 20201127225127[email protected]
hw/openrisc/openrisc_sim.c
This page took 0.025564 seconds and 4 git commands to generate.