hw/intc/arm_gicv3_its: Factor out "is intid a valid LPI ID?"
commitc3c9a09073d8549b431e813ba86bd6f01c0401c3
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Apr 2022 14:15:15 +0000 (8 15:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Apr 2022 08:19:24 +0000 (22 09:19 +0100)
tree2216531cc3dfdfd5ef601a719dedbbcae73bad78
parent9acd2d3373b899b342bfaa84107c613a75b65735
hw/intc/arm_gicv3_its: Factor out "is intid a valid LPI ID?"

In process_mapti() we check interrupt IDs to see whether they are
in the valid LPI range. Factor this out into its own utility
function, as we're going to want it elsewhere too for GICv4.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220408141550.1271295-7-peter.maydell@linaro.org
hw/intc/arm_gicv3_its.c