Re: [RFC PATCH 10/13] target/riscv: Constify CPURISCVState for various cpu_*() getters
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel,org.nongnu.qemu-riscv |
|---|---|
| Message-ID | <178723213512.2730041.17815454845365274121.b4-review@b4> |
On Thu, 20 Aug 2026 12:47:26 +0200, Philippe Mathieu-Daudé <[email protected]> wrote: > Add the const qualifier to CPURISCVState when the > argument is accessed without modification. > > Note we have to use the recently introduced > env_archcpu_const() helper in riscv_cpu_cfg(). > > > [...] Reviewed-by: Marc-André Lureau <[email protected]> -- Marc-André Lureau <[email protected]>