sun4u: split out NPT and INT_DIS into separate CPUTimer fields
commite913cac71bac85438b7199711ac3290cb593701a
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 8 Nov 2015 12:27:38 +0000 (8 12:27 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 7 Jan 2016 12:20:53 +0000 (7 12:20 +0000)
tree48b88571f6358b9dfc27def286e1d95411e58827
parentac93a067868453c3b3bcef830f336e8107afdc9e
sun4u: split out NPT and INT_DIS into separate CPUTimer fields

Currently there is confusion between use of these bits for the timer and timer
compare registers (while they both have the same value, the behaviour is
different). Split into two separate CPUTimer fields so we can always reference
the correct value.

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>
hw/sparc64/sun4u.c
target-sparc/cpu.h