target-sparc: fix Trap Based Address Register behavior for sparc64
commitde5f1077446ca455342db149737bdc395a7b9882
authorArtyom Tarasenko <atar4qemu@gmail.com>
Thu, 14 Apr 2016 19:14:32 +0000 (14 21:14 +0200)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 15 Apr 2016 08:30:40 +0000 (15 09:30 +0100)
treef1e2252843cadd5a8a854ce702d9a8b3ab64e19c
parent01a780d51a3a0851729e1747f3787a0db4d96722
target-sparc: fix Trap Based Address Register behavior for sparc64

Accoding the chapter 7.6 Trap Processing of the SPARC Architecture Manual v9,
the Trap Based Address Register is not modified as a trap is taken.

This fix allows booting FreeBSD-10.3-RELEASE-sparc64.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
target-sparc/int64_helper.c