]> git.proxmox.com Git - mirror_qemu.git/commit - hw/timer/arm_mptimer.c
arm_mptimer: Respect IT bit state
authorDmitry Osipenko <digetx@gmail.com>
Mon, 6 Jul 2015 01:27:12 +0000 (04:27 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Jul 2015 09:26:35 +0000 (10:26 +0100)
commit257621a9566054472d1d55a819880d0f9da02bda
treee72d79039c7a01270f4869331f5aecd2840dc264
parent8a52340cbaf60d4dd0a78bbfe12632639fe3da6d
arm_mptimer: Respect IT bit state

The timer should fire the interrupt only if the IT (interrupt enable) bit
state of the control register is enabled.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/timer/arm_mptimer.c