Re: [PATCH-for-10.1 v7 5/8] qemu: Convert target_words_bigendian() to TargetInfo API

2025-07-08 Thread Philippe Mathieu-Daudé
On 8/7/25 22:51, Philippe Mathieu-Daudé wrote: On 8/7/25 19:39, Richard Henderson wrote: On 7/8/25 11:19, Philippe Mathieu-Daudé wrote: -/** - * target_big_endian: - * Returns true if the (default) endianness of the target is big endian, - * false otherwise. Common code should normally never n

Re: [PATCH-for-10.1 v7 5/8] qemu: Convert target_words_bigendian() to TargetInfo API

2025-07-08 Thread Philippe Mathieu-Daudé
On 8/7/25 19:39, Richard Henderson wrote: On 7/8/25 11:19, Philippe Mathieu-Daudé wrote: -/** - * target_big_endian: - * Returns true if the (default) endianness of the target is big endian, - * false otherwise. Common code should normally never need to know about the - * endianness of the targ

Re: [PATCH-for-10.1 v7 5/8] qemu: Convert target_words_bigendian() to TargetInfo API

2025-07-08 Thread Pierrick Bouvier
On 7/8/25 10:19 AM, Philippe Mathieu-Daudé wrote: Reviewed-by: Pierrick Bouvier Signed-off-by: Philippe Mathieu-Daudé --- include/exec/tswap.h | 13 + include/qemu/target-info.h | 8 cpu-target.c | 7 --- hw/core/cpu-system.c | 2 +- h

[PATCH-for-10.1 v7 5/8] qemu: Convert target_words_bigendian() to TargetInfo API

2025-07-08 Thread Philippe Mathieu-Daudé
Reviewed-by: Pierrick Bouvier Signed-off-by: Philippe Mathieu-Daudé --- include/exec/tswap.h | 13 + include/qemu/target-info.h | 8 cpu-target.c | 7 --- hw/core/cpu-system.c | 2 +- hw/display/vga.c | 2 +- hw/virtio/virtio.c

Re: [PATCH-for-10.1 v7 5/8] qemu: Convert target_words_bigendian() to TargetInfo API

2025-07-08 Thread Richard Henderson
On 7/8/25 11:19, Philippe Mathieu-Daudé wrote: -/** - * target_big_endian: - * Returns true if the (default) endianness of the target is big endian, - * false otherwise. Common code should normally never need to know about the - * endianness of the target, so please do *not* use this function unl