summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf3
-rw-r--r--MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c7
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);
}
/**