summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 9fe33ec..73082f8 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 ed815c4..7f83541 100644
--- a/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
+++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
@@ -60,6 +60,7 @@
[LibraryClasses.IPF]
DebugLib
+ PalCallLib
[Pcd.IA32]