aboutsummaryrefslogtreecommitdiff
path: root/plugins/plugin.h
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2023-09-12 10:24:19 -0300
committerAlistair Francis <alistair.francis@wdc.com>2023-10-12 11:47:01 +1000
commitc72b3791278a398b121c8482171b1a8f66481420 (patch)
tree23227d015d0491b25cd200626986d6820d5a8095 /plugins/plugin.h
parent997e71952d1eb8d60b0807d01cf3956d84728067 (diff)
downloadqemu-c72b3791278a398b121c8482171b1a8f66481420.zip
qemu-c72b3791278a398b121c8482171b1a8f66481420.tar.gz
qemu-c72b3791278a398b121c8482171b1a8f66481420.tar.bz2
target/riscv/cpu.c: use cpu_cfg_ext_auto_update() during realize()
Let's change the other instances in realize() where we're enabling an extension based on a certain criteria (e.g. it's a dependency of another extension). We're leaving icsr and ifencei being enabled during RVG for later - we'll want to error out in that case. Every other extension enablement during realize is now done via cpu_cfg_ext_auto_update(). The end goal is that only cpu init() functions will handle extension flags directly via "cpu->cfg.ext_N = true|false". Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Message-ID: <20230912132423.268494-17-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'plugins/plugin.h')
0 files changed, 0 insertions, 0 deletions