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

2024-11-09 Thread Thomas Huth
Am Sat, 9 Nov 2024 10:08:16 -0800 schrieb Richard Henderson : > On 11/9/24 07:58, Philippe Mathieu-Daudé wrote: > > Hi Thomas, > > > > On 9/11/24 06:42, Thomas Huth wrote: > >> Am Wed,  6 Nov 2024 18:46:11 + > >> schrieb Philippe Mathieu-Daudé : > >> > >>> These devices are only used by t

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

2024-11-09 Thread Richard Henderson
On 11/9/24 07:58, Philippe Mathieu-Daudé wrote: Hi Thomas, On 9/11/24 06:42, Thomas Huth wrote: Am Wed,  6 Nov 2024 18:46:11 + schrieb Philippe Mathieu-Daudé : These devices are only used by the OpenRISC target, which is only built as big-endian. Therefore the DEVICE_NATIVE_ENDIAN definit

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

2024-11-09 Thread Philippe Mathieu-Daudé
Hi Thomas, On 9/11/24 06:42, Thomas Huth wrote: Am Wed, 6 Nov 2024 18:46:11 + schrieb Philippe Mathieu-Daudé : These devices are only used by the OpenRISC target, which is only built as big-endian. Therefore the DEVICE_NATIVE_ENDIAN definition expand to DEVICE_BIG_ENDIAN (besides, the DEV

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

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

Re: [PATCH 4/5] hw/openrisc: 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 OpenRISC 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_BI