summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-13 09:27:49 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-13 09:27:49 +0000
commit885dc4d85a12851b2a01b50924c8891cb3c4f2eb (patch)
tree59e21bb50a6ad7b4ff9d17587bace7a715f12f08 /MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c
parentf588bef0476c059bf6a91570ccc48747e8cffca2 (diff)
downloadedk2-platforms-885dc4d85a12851b2a01b50924c8891cb3c4f2eb.tar.xz
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
Diffstat (limited to 'MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c')
-rw-r--r--MdePkg/Library/BaseTimerLibLocalApic/x86TimerLib.c4
1 files changed, 2 insertions, 2 deletions
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);
}