summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-20 06:26:55 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-20 06:26:55 +0000
commit83b3efca138cbc30eddb3ed9a4fc7869d03c3372 (patch)
tree3137f680845896c1f20133eb7d588592e8ef9e87 /MdePkg/Library
parenta883d8c9de0d5bb7da45117afdcb74ab54d8bb21 (diff)
downloadedk2-platforms-83b3efca138cbc30eddb3ed9a4fc7869d03c3372.tar.xz
fix one bug on Timer Frequency return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1983 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
index b2adc3e140..235fe7be6d 100644
--- a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
+++ b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
@@ -246,5 +246,5 @@ GetPerformanceCounterProperties (
*EndValue = 0;
}
- return PcdGet32(PcdFSBClock);
+ return (UINT64) InternalX86GetTimerFrequency (ApicBase);;
}