diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2022-11-21 11:45:13 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2022-11-21 11:45:13 +0000 |
| commit | 69e7e60d011846f066af97589660eef52898519a (patch) | |
| tree | 68895e170c6698c4d74899a0d917c8d06baa828d /scripts/qapi/parser.py | |
| parent | 93e2da36ed944d05e78905e95983a44624ed064c (diff) | |
| download | focaccia-qemu-69e7e60d011846f066af97589660eef52898519a.tar.gz focaccia-qemu-69e7e60d011846f066af97589660eef52898519a.zip | |
hw/intc: clean-up access to GIC multi-byte registers
gic_dist_readb was returning a word value which just happened to work as a result of the way we OR the data together. Lets fix it so only the explicit byte is returned for each part of GICD_TYPER. I've changed the return type to uint8_t although the overflow is only detected with an explicit -Wconversion. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions