Re: [PATCH v6 02/11] hw/intc/xilinx_intc: Make device endianness configurable

2025-02-12 Thread Philippe Mathieu-Daudé
On 12/2/25 12:42, Thomas Huth wrote: On 12/02/2025 12.24, 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 p

Re: [PATCH v6 02/11] hw/intc/xilinx_intc: Make device endianness configurable

2025-02-12 Thread Thomas Huth
On 12/02/2025 12.24, 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 for each machine usin

[PATCH v6 02/11] hw/intc/xilinx_intc: Make device endianness configurable

2025-02-12 Thread Philippe Mathieu-Daudé
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 for each machine using the device. Signed-off-by: Philippe Mathieu-Daudé