|
| 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~
| [Prev in Thread] | Current Thread | [Next in Thread] |