sun4u: split NPT and INT_DIS accesses between timer and compare registers
commitbf43330aa418908f7a5e2acda28ac1a8ed0d8ad6
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 8 Nov 2015 12:45:35 +0000 (8 12:45 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 7 Jan 2016 12:21:02 +0000 (7 12:21 +0000)
treeb15d0e9378a0abc3a82fc78ab59845682555d9da
parente913cac71bac85438b7199711ac3290cb593701a
sun4u: split NPT and INT_DIS accesses between timer and compare registers

Accesses to the timer register high bit should only set NPT, whilst accesses
to the timer compare register high bit should only set INT_DIS. This fixes
issues with the timer being unexpectedly disabled whilst trying to boot
FreeBSD SPARC64.

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