aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-09-24 20:34:09 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-31 16:25:59 +0200
commit8dcfb54090330c877ad5a05be5e555714eeb870c (patch)
tree98d2d6b3e13a5725092d96a768d6af835425c53f /rust/qemu-api/src
parent0f15892acaf3f50ecc20c6dad4b3ebdd701aa93e (diff)
downloadqemu-8dcfb54090330c877ad5a05be5e555714eeb870c.zip
qemu-8dcfb54090330c877ad5a05be5e555714eeb870c.tar.gz
qemu-8dcfb54090330c877ad5a05be5e555714eeb870c.tar.bz2
hw/arm/armv7m: Expose and access System Control Space as little endian
We only build ARM system emulators using little endianness, so the MO_TE definition always expands to MO_LE, and DEVICE_TARGET_ENDIAN to DEVICE_LITTLE_ENDIAN. Replace the definitions by their expanded value, making it closer to the Armv7-M Architecture Reference Manual (ARM DDI 0403E) description: The System Control Space (SCS, address range 0xE000E000 to 0xE000EFFF) is a memory-mapped 4KB address space that provides 32-bit registers for configuration, status reporting and control. All accesses to the SCS are little endian. Fixes: d5d680cacc ("memory: Access MemoryRegion with endianness") Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250312104821.1012-1-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions