qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Philippe Mathieu-Daudé
Subject: [PATCH 0/3] hw/ppc: Replace tswap32() by stl_endian_p()
Date: Mon, 30 Sep 2024 14:53:20 +0200

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(-)

-- 
2.45.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]