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:
vanjeff
2006-11-13 09:27:49 +00:00
parent f588bef047
commit 885dc4d85a
5 changed files with 17 additions and 17 deletions

View File

@@ -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>

View File

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