diff options
author | vprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-05 18:48:48 +0000 |
---|---|---|
committer | vprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-05 18:48:48 +0000 |
commit | d56c53cbb9336c586e124178f855a995659e275c (patch) | |
tree | a8962ee1a89e90c3132ff3f7cf1fbb691746a087 /MdePkg/Library/BaseCacheMaintenanceLib | |
parent | 71c827cafe97c7707d941842473f97c2e4398bc7 (diff) | |
download | edk2-platforms-d56c53cbb9336c586e124178f855a995659e275c.tar.xz |
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
Diffstat (limited to 'MdePkg/Library/BaseCacheMaintenanceLib')
-rw-r--r-- | MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf | 3 | ||||
-rw-r--r-- | 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 <Library/CacheMaintenanceLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
+#include <Library/PalCallLib.h>
/**
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);
}
/**
|