hw/loader: Pass ELFDATA endian order argument to load_elf()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | hw/avr/boot: Replace load_elf_ram_sym() -> load_elf_as()hw/ | +3 | 1 reply | |
| 2/6 | hw/loader: Remove unused load_elf_ram()hw/ include/ | +2 | 2 replies | |
| 3/6 | hw/loader: Clarify local variable name in load_elf_ram_sym()hw/ | +4 | 3 replies | |
| 4/6 | hw/loader: Pass ELFDATA endian order argument to load_elf_ram_sym()hw/ hw/ include/ | +14 | 1 reply | |
| 5/6 | hw/loader: Pass ELFDATA endian order argument to load_elf_as()hw/ hw/ hw/ +3 more | +16 | 1 reply | |
| 6/6 | hw/loader: Pass ELFDATA endian order argument to load_elf()hw/ hw/ hw/ +33 more | +67 | 2 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | BALATON Zoltan | Richard Henderson | Alistair Francis |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | R-b | R-b | |
| 3/6 | R-b | R-b | |
| 4/6 | R-b | ||
| 5/6 | R-b | ||
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/6] hw/loader: Pass ELFDATA endian order argument to load_elf()
Hi,
The goal of this series is to be able to use the generic loader on heterogeneous binary. In order to do that we need to remove its target_words_bigendian() call. This series replace the 'bool is_big_endian' (~equivalent) argument of load_elf*() API by ELFDATA (which can be LSB / MSB or NONE), updating all the call sites.
Philippe Mathieu-Daudé (6):
hw/avr/boot: Replace load_elf_ram_sym() -> load_elf_as() hw/loader: Remove unused load_elf_ram()
hw/loader: Clarify local variable name in load_elf_ram_sym() hw/loader: Pass ELFDATA endian order argument to load_elf_ram_sym() hw/loader: Pass ELFDATA endian order argument to load_elf_as() hw/loader: Pass ELFDATA endian order argument to load_elf()
include/hw/loader.h | 22 ++++------------ hw/core/loader.c | 48 +++++++++++----------------------- hw/alpha/dp264.c | 4 +-- hw/arm/armv7m.c | 2 +- hw/arm/boot.c | 16 ++++++------ hw/avr/boot.c | 8 +++--- hw/core/generic-loader.c | 6 +---- hw/hppa/machine.c | 4 +-- hw/i386/multiboot.c | 4 +-- hw/i386/x86-common.c | 4 +-- hw/loongarch/boot.c | 2 +- hw/m68k/an5206.c | 2 +- hw/m68k/mcf5208.c | 2 +- hw/m68k/q800.c | 2 +- hw/m68k/virt.c | 2 +- hw/microblaze/boot.c | 6 +++-- hw/mips/boston.c | 2 +- hw/mips/fuloong2e.c | 2 +- hw/mips/loongson3_virt.c | 2 +- hw/mips/malta.c | 5 ++-- hw/mips/mipssim.c | 3 ++- hw/openrisc/boot.c | 2 +- hw/pci-host/raven.c | 4 +-- hw/ppc/e500.c | 2 +- hw/ppc/mac_newworld.c | 5 ++-- hw/ppc/mac_oldworld.c | 4 +-- hw/ppc/pegasos2.c | 8 +++--- hw/ppc/ppc405_boards.c | 2 +- hw/ppc/ppc440_bamboo.c | 3 ++- hw/ppc/sam460ex.c | 2 +- hw/ppc/spapr.c | 8 +++--- hw/ppc/virtex_ml507.c | 4 +-- hw/riscv/boot.c | 3 ++- hw/s390x/ipl.c | 6 ++--- hw/sparc/leon3.c | 2 +- hw/sparc/sun4m.c | 5 ++-- hw/sparc64/sun4u.c | 6 ++--- hw/tricore/triboard.c | 2 +- hw/tricore/tricore_testboard.c | 2 +- hw/xtensa/sim.c | 3 ++- hw/xtensa/xtfpga.c | 3 ++- 41 files changed, 99 insertions(+), 125 deletions(-)
Signature · 1 line
2.47.1