qemu/hw/avr
Philippe Mathieu-Daudé 90f5c86acb hw/loader: Pass ELFDATA endian order argument to load_elf_as()
Rather than passing a boolean 'is_big_endian' argument,
directly pass the ELFDATA, which can be unspecified using
the ELFDATANONE value.

Update the call sites:
  0 -> ELFDATA2LSB
  1 -> ELFDATA2MSB

Note, this allow removing the target_words_bigendian() call
in the GENERIC_LOADER device, where we pass ELFDATANONE.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250127113824.50177-6-philmd@linaro.org>
2025-01-31 19:36:44 +01:00
..
arduino.c Do not include hw/boards.h if it's not really necessary 2021-05-02 17:24:51 +02:00
atmega.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
atmega.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
boot.c hw/loader: Pass ELFDATA endian order argument to load_elf_as() 2025-01-31 19:36:44 +01:00
boot.h hw/avr: Add support for loading ELF/raw binaries 2020-07-11 11:02:05 +02:00
Kconfig avr: switch boards to "default y" 2024-05-03 15:47:47 +02:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00