commit | 718942aed69d42f0d982824b2469331ff77edcb2 | [log] [tgz] |
---|---|---|
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | Fri Feb 10 09:38:36 2023 -0300 |
committer | Palmer Dabbelt <palmer@rivosinc.com> | Thu Feb 23 14:21:33 2023 -0800 |
tree | 048b46eb46e7533cd9d81c64c985eac8c1701214 | |
parent | 90b1fafce0602d46243a40d8eea3006ef57e24d8 [diff] |
target/riscv: avoid env_archcpu() in cpu_get_tb_cpu_state() We have a RISCVCPU *cpu pointer available at the start of the function. 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: <20230210123836.506286-1-dbarboza@ventanamicro.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>