hw/arm: Replace tswap32() by stl_endian_p()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target/arm: Expose arm_cpu_code_is_big_endian() prototype in 'cpu.h'linux-user/ linux-user/ target/ +1 more | +13 | 0 replies | |
| 2/3 | hw/arm: Have arm_write_bootloader() take a ARMCPU argumenthw/ hw/ hw/ +1 more | +14 | 0 replies | |
| 3/3 | hw/arm: Replace tswap32() calls by target agnostic stl_endian_p()hw/ hw/ hw/ +1 more | +15 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] hw/arm: Replace tswap32() by stl_endian_p()
- Expose arm_cpu_code_is_big_endian()
- pass ARMCPU argument to arm_write_bootloader() so we can call arm_cpu_code_is_big_endian() on it,
- Replace target specific tswap32() by target agnostic stl_endian_p()
Tested on little & big endian hosts.
Philippe Mathieu-Daudé (3):
target/arm: Expose arm_cpu_code_is_big_endian() prototype in 'cpu.h' hw/arm: Have arm_write_bootloader() take a ARMCPU argument hw/arm: Replace tswap32() calls by target agnostic stl_endian_p()
include/hw/arm/boot.h | 9 ++++++--- target/arm/cpu.h | 7 +++++++ hw/arm/aspeed.c | 3 +-- hw/arm/boot.c | 17 ++++++++++------- hw/arm/exynos4210.c | 7 +++---- hw/arm/npcm7xx.c | 6 ++++-- hw/arm/raspi.c | 4 ++-- hw/arm/xilinx_zynq.c | 5 +++-- linux-user/aarch64/cpu_loop.c | 4 ++-- linux-user/arm/cpu_loop.c | 4 ++-- target/arm/cpu.c | 6 ++---- 11 files changed, 42 insertions(+), 30 deletions(-)
Signature · 1 line
2.45.2