diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-01-07 17:07:58 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-01-07 17:07:58 +0000 |
commit | 8d2d6dd9bb6f4a275e9acc5d97b020cd91483285 (patch) | |
tree | 1b1e506ea1e3e16a7f56154837ed4e648ab4a2f7 /hw/intc/gicv3_internal.h | |
parent | a120157b24c78c2d890cd9793eb5a1cbbf42c9a9 (diff) | |
download | qemu-8d2d6dd9bb6f4a275e9acc5d97b020cd91483285.zip qemu-8d2d6dd9bb6f4a275e9acc5d97b020cd91483285.tar.gz qemu-8d2d6dd9bb6f4a275e9acc5d97b020cd91483285.tar.bz2 |
hw/intc/arm_gicv3_its: Remove redundant ITS_CTLR_ENABLED define
We currently define a bitmask for the GITS_CTLR ENABLED bit in
two ways: as ITS_CTLR_ENABLED, and via the FIELD() macro as
R_GITS_CTLR_ENABLED_MASK. Consistently use the FIELD macro version
everywhere and remove the redundant ITS_CTLR_ENABLED define.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/intc/gicv3_internal.h')
-rw-r--r-- | hw/intc/gicv3_internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/intc/gicv3_internal.h b/hw/intc/gicv3_internal.h index b9c3745..63de866 100644 --- a/hw/intc/gicv3_internal.h +++ b/hw/intc/gicv3_internal.h @@ -289,8 +289,6 @@ FIELD(GITS_TYPER, CIL, 36, 1) #define GITS_IDREGS 0xFFD0 -#define ITS_CTLR_ENABLED (1U) /* ITS Enabled */ - #define GITS_BASER_RO_MASK (R_GITS_BASER_ENTRYSIZE_MASK | \ R_GITS_BASER_TYPE_MASK) |