diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-08-27 10:12:55 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-27 10:12:55 +0000 |
commit | 09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b (patch) | |
tree | 721e45bd3fd16357d3669c2e649474e13730e17d /ArmPkg/Drivers/TimerDxe | |
parent | 33292af5f13b18ef5124f32a7bbf0b05b2d519c5 (diff) | |
download | edk2-09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b.zip edk2-09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b.tar.gz edk2-09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b.tar.bz2 |
ArmPkg/TimerDxe: Fixed the reloading of the period
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
Diffstat (limited to 'ArmPkg/Drivers/TimerDxe')
-rw-r--r-- | ArmPkg/Drivers/TimerDxe/TimerDxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Drivers/TimerDxe/TimerDxe.c b/ArmPkg/Drivers/TimerDxe/TimerDxe.c index ccdb38c..279b50f 100644 --- a/ArmPkg/Drivers/TimerDxe/TimerDxe.c +++ b/ArmPkg/Drivers/TimerDxe/TimerDxe.c @@ -293,7 +293,7 @@ TimerInterruptHandler ( }
// Reload the Timer
- TimerDriverSetTimerPeriod (&gTimer, FixedPcdGet32(PcdTimerPeriod));
+ TimerDriverSetTimerPeriod (&gTimer, mTimerPeriod);
}
// Enable timer interrupts
|