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

2024-11-08 Thread Thomas Huth
Am Wed, 6 Nov 2024 18:46:10 + schrieb Philippe Mathieu-Daudé : > These devices are only used by the M68K target, which is 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 d

Re: [PATCH 3/5] hw/m68k: 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 M68K target, which is 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_EN