From 71c827cafe97c7707d941842473f97c2e4398bc7 Mon Sep 17 00:00:00 2001 From: vprabhal Date: Fri, 5 Oct 2007 18:47:51 +0000 Subject: [PATCH] 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 --- MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c | 4 ++-- MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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] -- 2.39.2