aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/vgic_common.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-04-08 15:15:22 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-04-22 09:24:44 +0100
commit2d692e2b314e212664e9ce72787ce0ecea615c61 (patch)
tree6ded84c80fd66ee6623d51bef22fc95f2bcdade0 /hw/intc/vgic_common.h
parentc411db7bf75d0a2ecd7249533c74babf2af51afe (diff)
downloadqemu-2d692e2b314e212664e9ce72787ce0ecea615c61.zip
qemu-2d692e2b314e212664e9ce72787ce0ecea615c61.tar.gz
qemu-2d692e2b314e212664e9ce72787ce0ecea615c61.tar.bz2
hw/intc/arm_gicv3_its: Split out process_its_cmd() physical interrupt code
Split the part of process_its_cmd() which is specific to physical interrupts into its own function. This is the part which starts by taking the ICID and looking it up in the collection table. The handling of virtual interrupts is significantly different (involving a lookup in the vPE table) so structuring the code with one sub-function for the physical interrupt case and one for the virtual interrupt case will be clearer than putting both cases in one large function. The code for handling the "remove mapping from ITE" for the DISCARD command remains in process_its_cmd() because it is common to both virtual and physical interrupts. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220408141550.1271295-14-peter.maydell@linaro.org
Diffstat (limited to 'hw/intc/vgic_common.h')
0 files changed, 0 insertions, 0 deletions