Re: [PATCH 06/26] target/riscv: introduce RISCVCPUDef

2025-05-14 Thread Alistair Francis
On Mon, May 12, 2025 at 7:53 PM Paolo Bonzini wrote: > > Start putting all the CPU definitions in a struct. Later this will replace > instance_init functions with declarative code, for now just remove the > ugly cast of class_data. > > Signed-off-by: Paolo Bonzini Reviewed-by: Alistair Francis

[PATCH 06/26] target/riscv: introduce RISCVCPUDef

2025-05-12 Thread Paolo Bonzini
Start putting all the CPU definitions in a struct. Later this will replace instance_init functions with declarative code, for now just remove the ugly cast of class_data. Signed-off-by: Paolo Bonzini --- target/riscv/cpu.h | 4 target/riscv/cpu.c | 27 ++- 2 files