diff options
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;
}
|