From: vprabhal Date: Fri, 5 Oct 2007 18:47:51 +0000 (+0000) Subject: removed the use of PalCallStatic and changed to PalCall X-Git-Tag: edk2-stable201903~22004 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=71c827cafe97c7707d941842473f97c2e4398bc7 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 --- 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]