[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 1/2] RISC-V: Convert cpu definition to future
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v1 1/2] RISC-V: Convert cpu definition to future model |
Date: |
Wed, 28 Mar 2018 12:38:48 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 03/28/2018 03:55 AM, Michael Clark wrote:
> - Model borrowed from target/sh4/cpu.c
> - Rewrote riscv_cpu_list to use object_class_get_list
> - Dropped 'struct RISCVCPUInfo' and used TypeInfo array
> - Replaced riscv_cpu_register_types with DEFINE_TYPES
> - Marked base class as abstract
> - Fixes -cpu list
>
> Cc: Igor Mammedov <address@hidden>
> Cc: Sagar Karandikar <address@hidden>
> Cc: Bastian Koppelmann <address@hidden>
> Cc: Palmer Dabbelt <address@hidden>
> Signed-off-by: Michael Clark <address@hidden>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Reviewed-by: Igor Mammedov <address@hidden>
> ---
> target/riscv/cpu.c | 123
> ++++++++++++++++++++++++++++++-----------------------
> 1 file changed, 69 insertions(+), 54 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~