On 2/6/25 05:10, Philippe Mathieu-Daudé wrote:
Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair
of DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN.
Add the "little-endian" property to select the device
endianness, defaulting to little endian.
Set the proper endianness on the single machine using the
device.

Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  hw/microblaze/petalogix_s3adsp1800_mmu.c |  1 +
  hw/net/xilinx_ethlite.c                  | 20 ++++++++++++++------
  2 files changed, 15 insertions(+), 6 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to