X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiMemoryLib%2FMemLibGuid.c;h=a2f0850c7522a5004e2dbf6c9b218cd41ebe7adc;hp=36da5b742424ea92fbe05836e41d9b6587ebac1c;hb=bad463843cc0ccef85901fa5f08ea498994f3c5f;hpb=af05f8b667db383a68e7d37ae502755b662bdd70 diff --git a/MdePkg/Library/PeiMemoryLib/MemLibGuid.c b/MdePkg/Library/PeiMemoryLib/MemLibGuid.c index 36da5b7424..a2f0850c75 100644 --- a/MdePkg/Library/PeiMemoryLib/MemLibGuid.c +++ b/MdePkg/Library/PeiMemoryLib/MemLibGuid.c @@ -23,6 +23,8 @@ **/ +#include "MemLibInternals.h" + /** Copies a source GUID to a destination GUID. @@ -102,7 +104,7 @@ CompareGuid ( If Length > 0 and Buffer is NULL, then ASSERT(). If Buffer is not aligned on a 32-bit boundary, then ASSERT(). If Length is not aligned on a 128-bit boundary, then ASSERT(). - If Length is greater than (MAX_ADDRESS ? Buffer + 1), then ASSERT(). + If Length is greater than (MAX_ADDRESS ? Buffer + 1), then ASSERT(). @param Buffer Pointer to the target buffer to scan. @param Length Number of bytes in Buffer to scan.