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);; }