Re: [PATCH 22/27] target/riscv: generalize custom CSR functionality

2025-04-23 Thread Alistair Francis
On Sun, Apr 6, 2025 at 5:03 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 22/27] target/riscv: generalize custom CSR functionality

2025-04-06 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 +++--