diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-01 01:04:43 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-04-01 11:29:25 +0200 |
commit | f0095c8ad93de7652aba36c4c713d9035417bea8 (patch) | |
tree | 80aaf23ed9ab47381b8e49fa842ea969b5ab5e9a /hw/avr/arduino.c | |
parent | 0f15892acaf3f50ecc20c6dad4b3ebdd701aa93e (diff) | |
download | qemu-f0095c8ad93de7652aba36c4c713d9035417bea8.zip qemu-f0095c8ad93de7652aba36c4c713d9035417bea8.tar.gz qemu-f0095c8ad93de7652aba36c4c713d9035417bea8.tar.bz2 |
hw/misc/aspeed_scu: Set MemoryRegionOps::impl::access_size to 32-bit
All MemoryRegionOps::read/write() handlers switch over a 32-bit
aligned value, because converted using TO_REG(), which is defined
as:
#define TO_REG(offset) ((offset) >> 2)
So all implementations are 32-bit.
Set min/max access_size accordingly.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://lore.kernel.org/qemu-devel/20250331230444.88295-2-philmd@linaro.org
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions