On 3/1/23 19:16, Richard Henderson wrote:
The class structure is a plain wrapper around ARMCPUClass.  We really
only need the QOM class, TYPE_AARCH64_CPU.  The instance init and
fallback class init functions are identical to the same ones over
in cpu.c.  Make arm_cpu_post_init static.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  target/arm/cpu-qom.h | 19 ++++++-------------
  target/arm/cpu.h     |  2 --
  target/arm/cpu.c     |  2 +-
  target/arm/cpu64.c   | 33 +--------------------------------
  4 files changed, 8 insertions(+), 48 deletions(-)

Nice!

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to