From 4199d92d1c5e2231e596e25a27acaffefa72a064 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Thu, 11 Oct 2007 11:12:28 +0000 Subject: Add BasePalCallLibNull instance in MdePkg. It is useful when building IPF components in open source packages. Use meaningful arguments defined in PalLib.h when invoking PalCall(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4094 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdePkg/Library/SecPeiDxeTimerLibCpu') diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c index 3977880526..cb5c6d4b73 100644 --- a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c +++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c @@ -161,13 +161,13 @@ GetPerformanceCounterProperties ( *EndValue = (UINT64)(-1); } - PalRet = PalCall (13, 0, 0, 0); + PalRet = PalCall (PAL_FREQ_BASE, 0, 0, 0); if (PalRet.Status != 0) { return 1000000; } BaseFrequence = PalRet.r9; - PalRet = PalCall (14, 0, 0, 0); + PalRet = PalCall (PAL_FREQ_RATIOS, 0, 0, 0); if (PalRet.Status != 0) { return 1000000; } -- cgit v1.2.3