On 12/4/24 14:25, Philippe Mathieu-Daudé wrote:
target_words_bigendian() doesn't return whether a target vCPU
expects data in big-endian order, but whether the*binary* has
been compiled with big-endian flavor by default. Rename it
appropriately to reduce confusion. Mechanical change doing:
$ sed -i -e s/target_words_bigendian/qemu_binary_is_bigendian/ \
$(git grep -l target_words_bigendian)
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
include/exec/tswap.h | 18 +++++++++---------
cpu-target.c | 2 +-
disas/disas-common.c | 2 +-
hw/core/cpu-sysemu.c | 2 +-
hw/core/generic-loader.c | 2 +-
hw/display/vga.c | 4 ++--
hw/virtio/virtio.c | 2 +-
system/qtest.c | 2 +-
8 files changed, 17 insertions(+), 17 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~