fix one bug on Timer Frequency return.
authorvanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 20 Nov 2006 06:26:55 +0000 (06:26 +0000)
committervanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 20 Nov 2006 06:26:55 +0000 (06:26 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@1983 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c

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