]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/MemLibInternals.h
MdePkg: Fix some typing errors in the header files
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / MemLibInternals.h
index 38bb9751b7303dfd8052ce0d3a3f781a31375a48..95052651d07a848b441462e782c6ddd130138438 100644 (file)
@@ -9,7 +9,7 @@
     BaseMemoryLibOptDxe\r
     BaseMemoryLibOptPei\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -103,7 +103,7 @@ InternalMemSetMem32 (
 /**\r
   Fills a target buffer with a 64-bit value, and returns the target buffer.\r
 \r
-  @param  Buffer  Teh pointer to the target buffer to fill.\r
+  @param  Buffer  The pointer to the target buffer to fill.\r
   @param  Length  The count of 64-bit value to fill.\r
   @param  Value   The value with which to fill Length bytes of Buffer.\r
 \r
@@ -231,4 +231,21 @@ InternalMemScanMem64 (
   IN      UINT64                    Value\r
   );\r
 \r
+/**\r
+  Checks whether the contents of a buffer are all zeros.\r
+\r
+  @param  Buffer  The pointer to the buffer to be checked.\r
+  @param  Length  The size of the buffer (in bytes) to be checked.\r
+\r
+  @retval TRUE    Contents of the buffer are all zeros.\r
+  @retval FALSE   Contents of the buffer are not all zeros.\r
+\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+InternalMemIsZeroBuffer (\r
+  IN CONST VOID  *Buffer,\r
+  IN UINTN       Length\r
+  );\r
+\r
 #endif\r