Re: [PATCH 2/5] hw/tricore: Mark devices as little-endian

2024-11-08 Thread Thomas Huth
Am Wed, 6 Nov 2024 18:46:09 + schrieb Philippe Mathieu-Daudé : > These devices are only used by the TriCore target, which is > only built as little-endian. Therefore the DEVICE_NATIVE_ENDIAN > definition expand to DEVICE_LITTLE_ENDIAN (besides, the > DEVICE_BIG_ENDIAN case isn't tested). Simp

Re: [PATCH 2/5] hw/tricore: Mark devices as little-endian

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

[PATCH 2/5] hw/tricore: Mark devices as little-endian

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