]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/xilinx_intc: Make device endianness configurable
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 25 Sep 2024 21:15:04 +0000 (23:15 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:34:09 +0000 (14:34 +0100)
commit2cdf693b197db6c6c27ff2bf02fce1c0bb384786
treec504fd64a67cdbd0c3c01f825389d7bcd311dfc1
parent4ec96630f93ec2a1fd8bf9c9150cdae330531de8
hw/intc/xilinx_intc: Make device endianness configurable

Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of
DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN.

Add the "endianness" property to select the device endianness.
This property is unspecified by default, and machines need to
set it explicitly.

Set the proper endianness for each machine using the device.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250213122217.62654-3-philmd@linaro.org>
hw/intc/xilinx_intc.c
hw/microblaze/petalogix_ml605_mmu.c
hw/microblaze/petalogix_s3adsp1800_mmu.c
hw/ppc/virtex_ml507.c
hw/riscv/microblaze-v-generic.c