Re: [RFC PATCH 10/13] target/riscv: Constify CPURISCVState for various cpu_*() getters

[email protected]
Newsgroups org.nongnu.qemu-riscv,org.nongnu.qemu-arm,org.nongnu.qemu-devel
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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.