On 3/29/23 03:19, Weiwei Li wrote:
Function get_physical_address() translates both virtual address and guest physical address, and the latter is 34-bits for Sv32x4. So we should use vaddr type for 'addr' parameter.Signed-off-by: Weiwei Li<liwei...@iscas.ac.cn> Signed-off-by: Junqiang Wang<wangjunqi...@iscas.ac.cn> --- target/riscv/cpu_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~