accel/tcg: Pass last not end to tb_invalidate_phys_range
Pass the address of the last byte to be changed, rather than the first address past the last byte. This avoids overflow when the last page of the address space is involved. Reviewed-by:Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- accel/tcg/tb-maint.c 16 additions, 15 deletionsaccel/tcg/tb-maint.c
- accel/tcg/translate-all.c 1 addition, 1 deletionaccel/tcg/translate-all.c
- accel/tcg/user-exec.c 1 addition, 1 deletionaccel/tcg/user-exec.c
- include/exec/exec-all.h 1 addition, 1 deletioninclude/exec/exec-all.h
- softmmu/physmem.c 1 addition, 1 deletionsoftmmu/physmem.c
Loading
Please register or sign in to comment