]> git.proxmox.com Git - mirror_edk2.git/commitdiff
removed the use of PalCallStatic and changed to PalCall
authorvprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Oct 2007 18:48:48 +0000 (18:48 +0000)
committervprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Oct 2007 18:48:48 +0000 (18:48 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4022 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c

index ef66416bc3ebd9348aa81715a6c24ab869218453..50e8990010cd8d35695494b7a48835d05cdaf5c5 100644 (file)
@@ -48,6 +48,9 @@
 [LibraryClasses]\r
   DebugLib\r
 \r
+[LibraryClasses.Ipf]\r
+  PalCallLib\r
+\r
 [LibraryClasses.common]\r
   BaseLib\r
 \r
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