qemu-ppc
[Top][All Lists]
Advanced

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

[PATCH 0/2] target/ppc: Drop PowerPCCPUClass::interrupts_big_endian()


From: Greg Kurz
Subject: [PATCH 0/2] target/ppc: Drop PowerPCCPUClass::interrupts_big_endian()
Date: Tue, 22 Jun 2021 16:09:24 +0200

Class method is overkill and cause code duplication in CPU setup functions.
Switch to a more lightweight solution with a unique inline helper.

Greg Kurz (2):
  target/ppc: Introduce ppc_interrupts_little_endian()
  target/ppc: Drop PowerPCCPUClass::interrupts_big_endian()

 target/ppc/cpu-qom.h     |  1 -
 target/ppc/cpu.h         | 15 +++++++++++++++
 target/ppc/arch_dump.c   |  8 +++-----
 target/ppc/cpu_init.c    | 17 -----------------
 target/ppc/excp_helper.c |  3 +--
 5 files changed, 19 insertions(+), 25 deletions(-)

-- 
2.31.1





reply via email to

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