rename PcdGenericPlatformBusSpeed to PcdFSBClock to avoid confusing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1940 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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>
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user