diff options
author | 2023-02-22 15:51:56 -0300 | |
---|---|---|
committer | 2023-03-01 13:47:08 -0800 | |
commit | d4ea71170432fef9e8394ab33eac3cdc3a9540d3 (patch) | |
tree | 31f734dd321fb9b3fe4b48fcfa881387e4f88854 /scripts/coverage/compare_gcov_json.py | |
parent | Merge tag 'buildsys-qom-qdev-ui-20230227' of https://github.com/philmd/qemu into staging (diff) | |
download | qemu-d4ea71170432fef9e8394ab33eac3cdc3a9540d3.tar.xz qemu-d4ea71170432fef9e8394ab33eac3cdc3a9540d3.zip |
target/riscv: introduce riscv_cpu_cfg()
We're going to do changes that requires accessing the RISCVCPUConfig
struct from the RISCVCPU, having access only to a CPURISCVState 'env'
pointer. Add a helper to make the code easier to read.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20230222185205.355361-2-dbarboza@ventanamicro.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions