summary refs log tree commit diff stats
path: root/hw/xenpv/xen_machine_pv.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2023-02-26 14:05:14 -0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-01 18:09:45 -0800
commit86247c51fff458fb238a1690232c16e8425b15d3 (patch)
treef0273a2f9591ba323a56d5306ccb8220f4408ade /hw/xenpv/xen_machine_pv.c
parente130683ffbac5006e57b9f730bbc556044117222 (diff)
downloadfocaccia-qemu-86247c51fff458fb238a1690232c16e8425b15d3.tar.gz
focaccia-qemu-86247c51fff458fb238a1690232c16e8425b15d3.zip
target/riscv/vector_helper.c: avoid env_archcpu() when reading RISCVCPUConfig
This file has several uses of env_archcpu() that are used solely to read
cfg->vlen. Use the new riscv_cpu_cfg() inline instead.

Suggested-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Weiwei Li<liweiwei@iscas.ac.cn>
Message-ID: <20230226170514.588071-3-dbarboza@ventanamicro.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'hw/xenpv/xen_machine_pv.c')
0 files changed, 0 insertions, 0 deletions