aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2023-09-25 14:56:57 -0300
committerAlistair Francis <alistair.francis@wdc.com>2023-10-12 12:02:17 +1000
commitec34cd732ce33af59a913444320f870c6309de51 (patch)
tree3e6b68382642b6133150e22d422b9dfd34f370a0 /tests
parenta7e87cd7bfd4580bc745cf12440f4e26329bc747 (diff)
downloadqemu-ec34cd732ce33af59a913444320f870c6309de51.zip
qemu-ec34cd732ce33af59a913444320f870c6309de51.tar.gz
qemu-ec34cd732ce33af59a913444320f870c6309de51.tar.bz2
target/riscv/cpu.c: mark extensions arrays as 'const'
We'll need to export these arrays to the accelerator classes in the next patches. Mark them as 'const' now because they should not be modified at runtime. Note that 'riscv_cpu_options' will also be exported, but can't be marked as 'const', because the properties are changed via qdev_property_add_static(). Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20230925175709.35696-8-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions