qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 12/18] target/mips: Declare CPU QOM types using DEFINE_TYPES(


From: Richard Henderson
Subject: Re: [PATCH 12/18] target/mips: Declare CPU QOM types using DEFINE_TYPES() macro
Date: Thu, 12 Oct 2023 21:18:55 -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/mips/cpu.c | 23 +++++++++++++----------
  1 file changed, 13 insertions(+), 10 deletions(-)

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


r~



reply via email to

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