]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c
removed the use of PalCallStatic and changed to PalCall
[mirror_edk2.git] / MdePkg / Library / BaseCacheMaintenanceLib / IpfCache.c
index 5be001490523df2fcb8860f9451c0226c3cc4223..1007b4448f0237af05432b4180d0c8d4e30bf64f 100644 (file)
@@ -20,6 +20,7 @@
 #include <Library/CacheMaintenanceLib.h>\r
 #include <Library/BaseLib.h>\r
 #include <Library/DebugLib.h>\r
+#include <Library/PalCallLib.h>\r
 \r
 /**\r
   Invalidates the entire instruction cache in cache coherency domain of the\r
@@ -35,7 +36,7 @@ InvalidateInstructionCache (
   VOID\r
   )\r
 {\r
-  PalCallStatic (NULL, 1, 1, 1, 0);\r
+  PalCall (1, 1, 1, 0);\r
 }\r
 \r
 /**\r
@@ -89,7 +90,7 @@ WriteBackInvalidateDataCache (
   VOID\r
   )\r
 {\r
-  PalCallStatic (NULL, 1, 2, 1, 0);\r
+  PalCall (1, 2, 1, 0);\r
 }\r
 \r
 /**\r
@@ -146,7 +147,7 @@ WriteBackDataCache (
   VOID\r
   )\r
 {\r
-  PalCallStatic (NULL, 1, 2, 0, 0);\r
+  PalCall (1, 2, 0, 0);\r
 }\r
 \r
 /**\r