qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 13/18] target/ppc: Declare CPU QOM types using DEFINE_TYPES()


From: Richard Henderson
Subject: Re: [PATCH 13/18] target/ppc: Declare CPU QOM types using DEFINE_TYPES() macro
Date: Thu, 12 Oct 2023 21:20:40 -0700
User-agent: Mozilla Thunderbird

On 10/10/23 02:28, Philippe Mathieu-Daudé wrote:
When multiple QOM types are registered in the same file,
it is simpler to use the the DEFINE_TYPES() macro. In
particular because type array declared with such macro
are easier to review.

In few commits we are going to add more types, so replace
the type_register_static() to ease further reviews.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  target/ppc/cpu_init.c | 52 +++++++++++++++++++------------------------
  1 file changed, 23 insertions(+), 29 deletions(-)'

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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