]> git.proxmox.com Git - qemu.git/commit
arm_timer: fix oneshot mode
authorRabin Vincent <rabin@rab.in>
Sun, 2 May 2010 09:50:52 +0000 (15:20 +0530)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 27 May 2010 13:52:57 +0000 (15:52 +0200)
commit0c459361a1117a6c434c7b2b008a4c6c035eb4bf
tree125925f4845e4f65e9357cd415f1a2287347ab2a
parent72d3457e8d7c2e45d16acbc4b430c2cb566cedba
arm_timer: fix oneshot mode

In oneshot mode, the delta needs to come from the TimerLoad register,
not the maximum limit.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit a9cf98d939c4f6539fad7e7d812ea16d96ba3dc9)
hw/arm_timer.c