summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);;
}