From d56c53cbb9336c586e124178f855a995659e275c Mon Sep 17 00:00:00 2001 From: vprabhal Date: Fri, 5 Oct 2007 18:48:48 +0000 Subject: [PATCH] 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 --- .../BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf | 3 +++ MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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); } /** -- 2.39.2