Re: [PATCH 20/26] target/riscv: generalize custom CSR functionality

2025-05-14 Thread Alistair Francis
On Mon, May 12, 2025 at 7:54 PM Paolo Bonzini wrote: > > While at it, constify it so that the RISCVCSR array in RISCVCPUDef > can also be const. > > Signed-off-by: Paolo Bonzini Reviewed-by: Alistair Francis Alistair > --- > target/riscv/cpu.h| 15 --- > target/riscv/cpu.c

[PATCH 20/26] target/riscv: generalize custom CSR functionality

2025-05-12 Thread Paolo Bonzini
While at it, constify it so that the RISCVCSR array in RISCVCPUDef can also be const. Signed-off-by: Paolo Bonzini --- target/riscv/cpu.h| 15 --- target/riscv/cpu.c| 25 - target/riscv/csr.c| 2 +- target/riscv/th_csr.c | 21 +++--