commit | 94e297071bc0a5965cc32c497a886f2cf9d32710 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng@tinylab.org> | Tue Feb 28 18:40:25 2023 +0800 |
committer | Palmer Dabbelt <palmer@rivosinc.com> | Wed Mar 01 16:40:17 2023 -0800 |
tree | a29d95452d504147c630fa469052d7cca26ff8cb | |
parent | 77ad639cb1269ed19fe726edee7c20487b95f7d3 [diff] |
target/riscv: Simplify getting RISCVCPU pointer from env Use env_archcpu() to get RISCVCPU pointer from env directly. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Message-ID: <20230228104035.1879882-10-bmeng@tinylab.org> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>