summaryrefslogtreecommitdiff
path: root/MdePkg/Library/SecPeiDxeTimerLibCpu
diff options
context:
space:
mode:
authorgtian <gtian@6f19259b-4bc3-4df7-8a09-765794883524>2007-05-14 06:47:11 +0000
committergtian <gtian@6f19259b-4bc3-4df7-8a09-765794883524>2007-05-14 06:47:11 +0000
commit63afc36022df9431419e6b184febd8054bfdbbc6 (patch)
tree0ba8263293ed3ed2429bebaa3bca16a6514c43af /MdePkg/Library/SecPeiDxeTimerLibCpu
parent4d68c21db37adf1c7978f1e2362f554f3826ff7b (diff)
downloadedk2-platforms-63afc36022df9431419e6b184febd8054bfdbbc6.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2593 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/SecPeiDxeTimerLibCpu')
-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);