fix one bug on Timer Frequency return.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Nov 2006 06:26:55 +0000 (06:26 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 20 Nov 2006 06:26:55 +0000 (06:26 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1983 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c

index b2adc3e140ad84e5f21100fd9b29014152eaea49..235fe7be6d73950f95c03dce369510a2dbe7db90 100644 (file)
@@ -246,5 +246,5 @@ GetPerformanceCounterProperties (
     *EndValue = 0;\r
   }\r
 \r
-  return PcdGet32(PcdFSBClock);\r
+  return (UINT64) InternalX86GetTimerFrequency (ApicBase);;\r
 }\r