qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 09/16] hw/ssi/xilinx_spips: Make device endianness configu


From: Richard Henderson
Subject: Re: [PATCH v2 09/16] hw/ssi/xilinx_spips: Make device endianness configurable
Date: Thu, 7 Nov 2024 11:02:55 +0000
User-agent: Mozilla Thunderbird

On 11/7/24 01:22, 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é<philmd@linaro.org>
---
  include/hw/ssi/xilinx_spips.h |  1 +
  hw/arm/xilinx_zynq.c          |  1 +
  hw/ssi/xilinx_spips.c         | 46 ++++++++++++++++++++++++++---------
  3 files changed, 36 insertions(+), 12 deletions(-)

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

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]