target-sparc: implement NPT timer bit
commitc9a464420d7eb67dace1f630554245360b4c7c5b
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 8 Nov 2015 17:11:59 +0000 (8 17:11 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 7 Jan 2016 12:21:06 +0000 (7 12:21 +0000)
treed8d1c674889a55840a760c71f63758d1435425cc
parentbf43330aa418908f7a5e2acda28ac1a8ed0d8ad6
target-sparc: implement NPT timer bit

If the NPT bit is set in the timer register, all non-supervisor read accesses
to the register should fail with a privilege exception.

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