Skip to content

hw/ppc: Replace tswap32() by stl_endian_p()

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/ppc: Expose ppc_cpu_is_big_endian() prototype in 'cpu.h'target/ppc/cpu.h target/ppc/cpu_init.c+3 -10 replies
2/3hw/ppc/sam460ex: Replace tswap32() by stl_endian_p()hw/ppc/sam460ex.c+3 -21 reply
3/3hw/ppc/virtex_ml507: Replace tswap32() by stl_endian_p()hw/ppc/virtex_ml507.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] hw/ppc: Replace tswap32() by stl_endian_p()

Expose ppc_cpu_is_big_endian(), then use it calling the target agnostic stl_endian_p() method, removing the use of the target specific tswap32() method.

Philippe Mathieu-Daudé (3):
target/ppc: Expose ppc_cpu_is_big_endian() prototype in 'cpu.h' hw/ppc/sam460ex: Replace tswap32() by stl_endian_p() hw/ppc/virtex_ml507: Replace tswap32() by stl_endian_p()

 target/ppc/cpu.h      | 2 ++
 hw/ppc/sam460ex.c     | 5 +++--
 hw/ppc/virtex_ml507.c | 2 +-
 target/ppc/cpu_init.c | 2 +-
 4 files changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
2.45.2