On 8/1/19 11:30 AM, Peter Maydell wrote:
> Switch the SPARC target from the old unassigned_access hook to the
> new do_transaction_failed hook.
> 
> This will cause the "if transaction failed" code paths added in
> the previous commits to become active if the access is to an
> unassigned address. In particular we'll now handle bus errors
> during page table walks correctly (generating a translation
> error with the right kind of fault status).
> 
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
> ---
>  target/sparc/cpu.h         |  8 +++++---
>  target/sparc/cpu.c         |  2 +-
>  target/sparc/ldst_helper.c | 16 ++++++++++++----
>  3 files changed, 18 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~


Reply via email to