Re: [PATCH 1/5] hw/i386: Mark devices as little-endian

2024-11-08 Thread Thomas Huth
Am Wed, 6 Nov 2024 18:46:08 + schrieb Philippe Mathieu-Daudé : > These devices are only used by the X86 targets, which are 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). Simpli

Re: [PATCH 1/5] hw/i386: 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 X86 targets, which are 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_LI

[PATCH 1/5] hw/i386: Mark devices as little-endian

2024-11-06 Thread Philippe Mathieu-Daudé
These devices are only used by the X86 targets, which are 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-Daud