diff options
| author | Peter Maydell | 2021-11-26 17:39:14 +0100 |
|---|---|---|
| committer | Peter Maydell | 2021-11-26 17:58:57 +0100 |
| commit | b74d7c0e50ac4bde85c0ff629bfc23cdf378e62c (patch) | |
| tree | a837cfb71e905d1b06678e19d0b7287b8ba5b60a /include/exec | |
| parent | hw/intc/arm_gicv3: Update cached state after LPI state changes (diff) | |
| download | qemu-b74d7c0e50ac4bde85c0ff629bfc23cdf378e62c.tar.gz qemu-b74d7c0e50ac4bde85c0ff629bfc23cdf378e62c.tar.xz qemu-b74d7c0e50ac4bde85c0ff629bfc23cdf378e62c.zip | |
hw/intc/arm_gicv3: Add new gicv3_intid_is_special() function
The GICv3/v4 pseudocode has a function IsSpecial() which returns true
if passed a "special" interrupt ID number (anything between 1020 and
1023 inclusive). We open-code this condition in a couple of places,
so abstract it out into a new function gicv3_intid_is_special().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
