summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-05 18:47:51 +0000
committervprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-05 18:47:51 +0000
commit71c827cafe97c7707d941842473f97c2e4398bc7 (patch)
tree77cdae53decd2a23dd0fc653bc0d31ce1bbf29a0
parente0337bfab8f1d3affab9e0313121d6015f0d996c (diff)
downloadedk2-71c827cafe97c7707d941842473f97c2e4398bc7.tar.gz
edk2-71c827cafe97c7707d941842473f97c2e4398bc7.tar.bz2
edk2-71c827cafe97c7707d941842473f97c2e4398bc7.zip
removed the use of PalCallStatic and changed to PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4021 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c4
-rw-r--r--MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf1
2 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
index 9fe33ec134..73082f866b 100644
--- a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
+++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
@@ -160,13 +160,13 @@ GetPerformanceCounterProperties (
*EndValue = (UINT64)(-1);
}
- PalRet = PalCallStatic (NULL, 13, 0, 0, 0);
+ PalRet = PalCall (13, 0, 0, 0);
if (PalRet.Status != 0) {
return 1000000;
}
BaseFrequence = PalRet.r9;
- PalRet = PalCallStatic (NULL, 14, 0, 0, 0);
+ PalRet = PalCall (14, 0, 0, 0);
if (PalRet.Status != 0) {
return 1000000;
}
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf b/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
index ed815c4257..7f8354107e 100644
--- a/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
+++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
@@ -60,6 +60,7 @@
[LibraryClasses.IPF]
DebugLib
+ PalCallLib
[Pcd.IA32]