Re: [RFC PATCH 10/18] qemu: Introduce legacy_binary_is_big_endian() helper

2025-03-06 Thread Philippe Mathieu-Daudé
On 6/3/25 08:28, Thomas Huth wrote: On 05/03/2025 16.39, Philippe Mathieu-Daudé wrote: Introduce legacy_binary_endianness() to return the endianness of a legacy binary, and legacy_binary_is_big_endian() being equivalent of compile time TARGET_BIG_ENDIAN definition. Signed-off-by: Philippe Mathi

Re: [RFC PATCH 10/18] qemu: Introduce legacy_binary_is_big_endian() helper

2025-03-05 Thread Thomas Huth
On 05/03/2025 16.39, Philippe Mathieu-Daudé wrote: Introduce legacy_binary_endianness() to return the endianness of a legacy binary, and legacy_binary_is_big_endian() being equivalent of compile time TARGET_BIG_ENDIAN definition. Signed-off-by: Philippe Mathieu-Daudé --- include/qemu/legacy_b

[RFC PATCH 10/18] qemu: Introduce legacy_binary_is_big_endian() helper

2025-03-05 Thread Philippe Mathieu-Daudé
Introduce legacy_binary_endianness() to return the endianness of a legacy binary, and legacy_binary_is_big_endian() being equivalent of compile time TARGET_BIG_ENDIAN definition. Signed-off-by: Philippe Mathieu-Daudé --- include/qemu/legacy_binary_info.h | 8 ++ legacy_binary_info.c