diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-12-27 14:59:25 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-12-27 14:59:25 +0000 |
commit | e971fa042253ed36e602a2c1bc01144da3e8832f (patch) | |
tree | 696a8bf04ea289e76cda923a854964521dab7fa8 /hw/intc/arm_gicv3.c | |
parent | c9b61d9aa1ad234b0961f8add023cdc999cda3da (diff) |
hw/intc/arm_gicv3: Remove incorrect usage of fieldoffset
In the ARMCPRegInfo definitions for the GICv3 CPU interface
registers, we were trying to use .fieldoffset to specify
the locations of data fields within the GICv3CPUState struct.
This is completely broken, because .fieldoffset is for offsets
into the CPUARMState struct. We didn't notice because we
were only using this for reads to BPR0, AP0R<n>, IGRPEN0
and CTLR_EL3, and Linux doesn't use these registers.
Replace the .fieldoffset uses with explicit read functions.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'hw/intc/arm_gicv3.c')
0 files changed, 0 insertions, 0 deletions