diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2022-01-07 17:07:59 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2022-01-07 17:07:59 +0000 |
| commit | e07f844599525685db44ce74bf4ab12025d1d96a (patch) | |
| tree | c7b3f49b5bf211f0e38ec01210a2d34748f897dd /hw/intc/ioapic_common.c | |
| parent | b87fab1c8e8977e8ea1233bafdbfa37090eefabf (diff) | |
| download | focaccia-qemu-e07f844599525685db44ce74bf4ab12025d1d96a.tar.gz focaccia-qemu-e07f844599525685db44ce74bf4ab12025d1d96a.zip | |
hw/intc/arm_gicv3_its: Use FIELD macros for DTEs
Currently the ITS code that reads and writes DTEs uses open-coded shift-and-mask to assemble the various fields into the 64-bit DTE word. The names of the macros used for mask and shift values are also somewhat inconsistent, and don't follow our usual convention that a MASK macro should specify the bits in their place in the word. Replace all these with use of the FIELD macro. 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>
Diffstat (limited to 'hw/intc/ioapic_common.c')
0 files changed, 0 insertions, 0 deletions