diff options
Diffstat (limited to 'MdePkg/Library/BaseTimerLibLocalApic')
-rw-r--r-- | MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa b/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa index 2b34af396b..c0affb8a29 100644 --- a/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa +++ b/MdePkg/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.msa @@ -54,7 +54,7 @@ </Externs>
<PcdCoded>
<PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
- <C_Name>PcdPlatformBusSpeed</C_Name>
+ <C_Name>PcdFSBClock</C_Name>
<TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>
<HelpText>Bus speed on the platform, its unit is Hz. its default value is 200000000, that means bus speed is 200Mhz.</HelpText>
</PcdEntry>
diff --git a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c index d2935cf83a..b2adc3e140 100644 --- a/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c +++ b/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c @@ -64,7 +64,7 @@ InternalX86GetTimerFrequency ( )
{
return
- PcdGet32(PcdPlatformBusSpeed) /
+ PcdGet32(PcdFSBClock) /
mTimerLibLocalApicDivisor[MmioBitFieldRead32 (ApicBase + 0x3e0, 0, 3)];
}
@@ -246,5 +246,5 @@ GetPerformanceCounterProperties ( *EndValue = 0;
}
- return PcdGet32(PcdPlatformBusSpeed);
+ return PcdGet32(PcdFSBClock);
}
|