summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
index 8f7651519e..f4e9838745 100644
--- a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
+++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
@@ -37,14 +37,14 @@ InternalIpfDelay (
//
// The target timer count is calculated here
//
- Ticks = IpfReadItc () + Delay;
+ Ticks = AsmReadItc () + Delay;
//
// Wait until time out
// Delay > 2^63 could not be handled by this function
// Timer wrap-arounds are handled correctly by this function
//
- while (Ticks - IpfReadItc () >= 0);
+ while (Ticks - AsmReadItc () >= 0);
}
/**
@@ -113,7 +113,7 @@ GetPerformanceCounter (
VOID
)
{
- return IpfReadItc ();
+ return AsmReadItc ();
}
/**
@@ -146,7 +146,7 @@ GetPerformanceCounterProperties (
OUT UINT64 *EndValue OPTIONAL
)
{
- PAL_PROC_RETURN PalRet;
+ PAL_CALL_RETURN PalRet;
UINT64 BaseFrequence;
PalRet = PalCallStatic (NULL, 13, 0, 0, 0);