diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-09-25 23:14:08 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-13 17:16:03 +0100 |
commit | 6909b616efbc9b627a0c9ea87d25a10d508cc879 (patch) | |
tree | 7041f254b3316e2d3d84986fc11e66cbf0fe9b50 /hw/net | |
parent | 937874a83d149a1b871a569d6abded3fdd302267 (diff) | |
download | qemu-6909b616efbc9b627a0c9ea87d25a10d508cc879.zip qemu-6909b616efbc9b627a0c9ea87d25a10d508cc879.tar.gz qemu-6909b616efbc9b627a0c9ea87d25a10d508cc879.tar.bz2 |
hw/microblaze: Restrict MemoryRegionOps are implemented as 32-bit
All these MemoryRegionOps read() and write() handlers are
implemented expecting 32-bit accesses. Clarify that setting
.impl.min/max_access_size fields.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20241105130431.22564-8-philmd@linaro.org>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/xilinx_ethlite.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/net/xilinx_ethlite.c b/hw/net/xilinx_ethlite.c index 4c0c7fc..88ab331 100644 --- a/hw/net/xilinx_ethlite.c +++ b/hw/net/xilinx_ethlite.c @@ -166,6 +166,10 @@ static const MemoryRegionOps eth_ops = { .read = eth_read, .write = eth_write, .endianness = DEVICE_NATIVE_ENDIAN, + .impl = { + .min_access_size = 4, + .max_access_size = 4, + }, .valid = { .min_access_size = 4, .max_access_size = 4 |