]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/TimerDxe: Fixed the reloading of the period
authorOlivier Martin <olivier.martin@arm.com>
Wed, 27 Aug 2014 10:12:55 +0000 (10:12 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 27 Aug 2014 10:12:55 +0000 (10:12 +0000)
Prior to this change the period was restored to the default period.
This change restores the latest 'set period'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15922 6f19259b-4bc3-4df7-8a09-765794883524

ArmPkg/Drivers/TimerDxe/TimerDxe.c

index ccdb38c79b641c71b46728d558f177cc400a5a6e..279b50f29048a1cca97755b29e84e24414156245 100644 (file)
@@ -293,7 +293,7 @@ TimerInterruptHandler (
     }\r
 \r
     // Reload the Timer\r
-    TimerDriverSetTimerPeriod (&gTimer, FixedPcdGet32(PcdTimerPeriod));\r
+    TimerDriverSetTimerPeriod (&gTimer, mTimerPeriod);\r
   }\r
 \r
   // Enable timer interrupts\r