qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 06/40] target/arm: Remove AArch64CPUClass


From: Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH 06/40] target/arm: Remove AArch64CPUClass
Date: Thu, 5 Jan 2023 22:50:50 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1

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.henderson@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é <philmd@linaro.org>




reply via email to

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