**/\r
\r
\r
+//\r
+// Include common header file for this module.\r
+//\r
+#include <Base.h>\r
+#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
calling CPU.\r
VOID\r
)\r
{\r
- PalCallStatic (NULL, 1, 1, 1, 0);\r
+ PalCall (PAL_CACHE_FLUSH, PAL_CACHE_FLUSH_INSTRUCTION_ALL, PAL_CACHE_FLUSH_INVALIDATE_LINES, 0);\r
}\r
\r
/**\r
VOID\r
)\r
{\r
- PalCallStatic (NULL, 1, 2, 1, 0);\r
+ PalCall (PAL_CACHE_FLUSH, PAL_CACHE_FLUSH_DATA_ALL, PAL_CACHE_FLUSH_INVALIDATE_LINES, 0);\r
}\r
\r
/**\r
VOID\r
)\r
{\r
- PalCallStatic (NULL, 1, 2, 0, 0);\r
+ PalCall (PAL_CACHE_FLUSH, PAL_CACHE_FLUSH_DATA_ALL, PAL_CACHE_FLUSH_NO_INVALIDATE_LINES | PAL_CACHE_FLUSH_NO_INTERRUPT, 0);\r
}\r
\r
/**\r