diff options
author | Peter Maydell | 2020-11-27 23:51:26 +0100 |
---|---|---|
committer | Peter Maydell | 2020-12-15 13:04:29 +0100 |
commit | eaca43a0f7a3548a527e74b7d14d69eeb31dc339 (patch) | |
tree | 893b7dc8b0d2f6976f49e57b375a324855abaacf /target | |
parent | hw/openrisc/openrisc_sim: Use IRQ splitter when connecting IRQ to multiple CPUs (diff) | |
download | qemu-eaca43a0f7a3548a527e74b7d14d69eeb31dc339.tar.gz qemu-eaca43a0f7a3548a527e74b7d14d69eeb31dc339.tar.xz qemu-eaca43a0f7a3548a527e74b7d14d69eeb31dc339.zip |
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
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions