diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-02-22 15:51:56 -0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-03-01 13:47:08 -0800 |
commit | d4ea71170432fef9e8394ab33eac3cdc3a9540d3 (patch) | |
tree | 31f734dd321fb9b3fe4b48fcfa881387e4f88854 /target/riscv/vector_helper.c | |
parent | 627634031092e1514f363fd8659a579398de0f0e (diff) |
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 'target/riscv/vector_helper.c')
0 files changed, 0 insertions, 0 deletions