diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-11 11:12:28 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-11 11:12:28 +0000 |
commit | 4199d92d1c5e2231e596e25a27acaffefa72a064 (patch) | |
tree | 27ed5536d177197d42bbb3a316d4f7e34dcd63e1 /MdePkg/Library/SecPeiDxeTimerLibCpu | |
parent | a021b849f212d124593070ea7d1c423f65d7c119 (diff) | |
download | edk2-platforms-4199d92d1c5e2231e596e25a27acaffefa72a064.tar.xz |
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
Diffstat (limited to 'MdePkg/Library/SecPeiDxeTimerLibCpu')
-rw-r--r-- | MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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;
}
|