]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c
Add BasePalCallLibNull instance in MdePkg. It is useful when building IPF components...
[mirror_edk2.git] / MdePkg / Library / SecPeiDxeTimerLibCpu / IpfTimerLib.c
index 3977880526c62001b9117b19f9161d850938304b..cb5c6d4b739ce4c5f328ddad01ddbfaea873003b 100644 (file)
@@ -161,13 +161,13 @@ GetPerformanceCounterProperties (
     *EndValue = (UINT64)(-1);\r
   }\r
 \r
-  PalRet = PalCall (13, 0, 0, 0);\r
+  PalRet = PalCall (PAL_FREQ_BASE, 0, 0, 0);\r
   if (PalRet.Status != 0) {\r
     return 1000000;\r
   }\r
   BaseFrequence = PalRet.r9;\r
 \r
-  PalRet = PalCall (14, 0, 0, 0);\r
+  PalRet = PalCall (PAL_FREQ_RATIOS, 0, 0, 0);\r
   if (PalRet.Status != 0) {\r
     return 1000000;\r
   }\r