From: vprabhal Date: Fri, 5 Oct 2007 18:48:48 +0000 (+0000) Subject: removed the use of PalCallStatic and changed to PalCall X-Git-Tag: edk2-stable201903~22003 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d56c53cbb9336c586e124178f855a995659e275c removed the use of PalCallStatic and changed to PalCall git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4022 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf b/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf index ef66416bc3..50e8990010 100644 --- a/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf +++ b/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf @@ -48,6 +48,9 @@ [LibraryClasses] DebugLib +[LibraryClasses.Ipf] + PalCallLib + [LibraryClasses.common] BaseLib diff --git a/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c b/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c index 5be0014905..1007b4448f 100644 --- a/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c +++ b/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c @@ -20,6 +20,7 @@ #include #include #include +#include /** Invalidates the entire instruction cache in cache coherency domain of the @@ -35,7 +36,7 @@ InvalidateInstructionCache ( VOID ) { - PalCallStatic (NULL, 1, 1, 1, 0); + PalCall (1, 1, 1, 0); } /** @@ -89,7 +90,7 @@ WriteBackInvalidateDataCache ( VOID ) { - PalCallStatic (NULL, 1, 2, 1, 0); + PalCall (1, 2, 1, 0); } /** @@ -146,7 +147,7 @@ WriteBackDataCache ( VOID ) { - PalCallStatic (NULL, 1, 2, 0, 0); + PalCall (1, 2, 0, 0); } /**