commit | a6ba81424a7e751fbcee40dc1f5826ba29fddd30 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Feb 18 11:31:30 2025 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue May 20 08:18:53 2025 +0200 |
tree | d1b4d7b7627fd401d56fb63a2ada9a7a633a3883 | |
parent | 407254031edd649e6acde736e3f7e95bb0fdf299 [diff] |
target/riscv: add more RISCVCPUDef fields Allow using RISCVCPUDef to replicate all the logic of custom .instance_init functions. To simulate inheritance, merge the child's RISCVCPUDef with the parent and then finally move it to the CPUState at the end of TYPE_RISCV_CPU's own instance_init function. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>