mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
Disassembler is not expected to alter the CPU config. Besides, all other RISC-V methods takes a const RISCVCPUConfig. Make the @cfg field of the rv_decode structure const, passing a const pointer to disasm_inst(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20260202222412.24923-6-philmd@linaro.org>