commit | 5fd23f20e12a56e7ac2dabbe9570fb2f10d7c5b4 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Feb 06 13:13:23 2025 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue May 20 08:18:53 2025 +0200 |
tree | 36f5337db1d440bde02e71f98abac5bfc452925f | |
parent | 71fb3aa5ebba5ba822371f864a12dbcded08147d [diff] |
target/riscv: store RISCVCPUDef struct directly in the class Prepare for adding more fields to RISCVCPUDef and reading them in riscv_cpu_init: instead of storing the misa_mxl_max field in RISCVCPUClass, ensure that there's always a valid RISCVCPUDef struct and go through it. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>