]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c
Fix the bug that SetMem.S of BaseMemoryLibOptDxe is incorrect.
[mirror_edk2.git] / MdePkg / Library / BaseCacheMaintenanceLib / IpfCache.c
index aa33529db0c9b002986a176aff36cb6c66bd3d76..1e5241832fc965aa869dc2ac01e231f4c035f50b 100644 (file)
@@ -54,7 +54,7 @@ InvalidateInstructionCache (
 \r
   @param  Length  The number of bytes to invalidate from the instruction cache.\r
 \r
-  @return Address of cache invalidation.\r
+  @return Address.\r
 \r
 **/\r
 VOID *\r
@@ -65,7 +65,7 @@ InvalidateInstructionCacheRange (
   )\r
 {\r
   ASSERT (Length <= MAX_ADDRESS - (UINTN)Address + 1);\r
-  return IpfFlushCacheRange (Address, Length);\r
+  return AsmFlushCacheRange (Address, Length);\r
 }\r
 \r
 /**\r
@@ -122,7 +122,7 @@ WriteBackInvalidateDataCacheRange (
 {\r
   ASSERT (Length <= MAX_ADDRESS - (UINTN)Address + 1);\r
 \r
-  return IpfFlushCacheRange (Address, Length);\r
+  return AsmFlushCacheRange (Address, Length);\r
 }\r
 \r
 /**\r
@@ -178,7 +178,7 @@ WriteBackDataCacheRange (
 {\r
   ASSERT (Length <= MAX_ADDRESS - (UINTN)Address + 1);\r
 \r
-  return IpfFlushCacheRange (Address, Length);\r
+  return AsmFlushCacheRange (Address, Length);\r
 }\r
 \r
 /**\r
@@ -229,7 +229,7 @@ InvalidateDataCache (
                   then Address is a virtual address.\r
   @param  Length  The number of bytes to invalidate from the data cache.\r
 \r
-  @return Address of cache invalidation.\r
+  @return Address.\r
 \r
 **/\r
 VOID *\r
@@ -244,5 +244,5 @@ InvalidateDataCacheRange (
   // Invalidation of a data cache range without writing back is not supported on\r
   // IPF architecture, so write back and invalidate operation is performed.\r
   //\r
-  return IpfFlushCacheRange (Address, Length);\r
+  return AsmFlushCacheRange (Address, Length);\r
 }\r