From 63afc36022df9431419e6b184febd8054bfdbbc6 Mon Sep 17 00:00:00 2001 From: gtian Date: Mon, 14 May 2007 06:47:11 +0000 Subject: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2593 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MdePkg/Library') 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); -- cgit v1.2.3