From e913cac71bac85438b7199711ac3290cb593701a Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Sun, 8 Nov 2015 12:27:38 +0000 Subject: 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 Reviewed-By: Artyom Tarasenko Signed-off-by: Mark Cave-Ayland --- target-sparc/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-sparc/cpu.h') diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 9fa770b144..4aa689ed0b 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -366,6 +366,8 @@ struct CPUTimer uint32_t frequency; uint32_t disabled; uint64_t disabled_mask; + uint32_t npt; + uint64_t npt_mask; int64_t clock_offset; QEMUTimer *qtimer; }; -- cgit v1.2.3