Re: [PATCH 5/5] hw/sparc: Mark devices as big-endian

2024-11-07 Thread Richard Henderson
On 11/6/24 18:46, Philippe Mathieu-Daudé wrote: These devices are only used by the SPARC targets, which are only built as big-endian. Therefore the DEVICE_NATIVE_ENDIAN definition expand to DEVICE_BIG_ENDIAN (besides, the DEVICE_LITTLE_ENDIAN case isn't tested). Simplify directly using DEVICE_BIG

Re: [PATCH 5/5] hw/sparc: Mark devices as big-endian

2024-11-06 Thread Mark Cave-Ayland
On 06/11/2024 18:46, Philippe Mathieu-Daudé wrote: These devices are only used by the SPARC targets, which are only built as big-endian. Therefore the DEVICE_NATIVE_ENDIAN definition expand to DEVICE_BIG_ENDIAN (besides, the DEVICE_LITTLE_ENDIAN case isn't tested). Simplify directly using DEVICE

[PATCH 5/5] hw/sparc: Mark devices as big-endian

2024-11-06 Thread Philippe Mathieu-Daudé
These devices are only used by the SPARC targets, which are only built as big-endian. Therefore the DEVICE_NATIVE_ENDIAN definition expand to DEVICE_BIG_ENDIAN (besides, the DEVICE_LITTLE_ENDIAN case isn't tested). Simplify directly using DEVICE_BIG_ENDIAN. Signed-off-by: Philippe Mathieu-Daudé -