qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hw/ppc: Replace tswap32() by stl_endian_p()
@ 2024-09-30 12:53 Philippe Mathieu-Daudé
  2024-09-30 12:53 ` [PATCH 1/3] target/ppc: Expose ppc_cpu_is_big_endian() prototype in 'cpu.h' Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-09-30 12:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Daniel Henrique Barboza, BALATON Zoltan,
	Nicholas Piggin, Edgar E. Iglesias, qemu-ppc, Anton Johansson,
	Philippe Mathieu-Daudé

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-09-30 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 12:53 [PATCH 0/3] hw/ppc: Replace tswap32() by stl_endian_p() Philippe Mathieu-Daudé
2024-09-30 12:53 ` [PATCH 1/3] target/ppc: Expose ppc_cpu_is_big_endian() prototype in 'cpu.h' Philippe Mathieu-Daudé
2024-09-30 12:53 ` [PATCH 2/3] hw/ppc/sam460ex: Replace tswap32() by stl_endian_p() Philippe Mathieu-Daudé
2024-09-30 13:49   ` BALATON Zoltan
2024-09-30 12:53 ` [PATCH 3/3] hw/ppc/virtex_ml507: " Philippe Mathieu-Daudé
2024-09-30 13:50   ` BALATON Zoltan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).