]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
fix one bug on Timer Frequency return.
[mirror_edk2.git] / 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