summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-10-20 13:57:14 +0800
committerLiming Gao <liming.gao@intel.com>2016-10-25 11:54:08 +0800
commit8e947c07b6dbc426d262a7070fafe3d2ae4c4e04 (patch)
tree8909d1100541a7262306fd37640c4aac615212f3 /MdePkg
parent635d8ec31cd5d8a1186a95207fbd7d336b282186 (diff)
downloadedk2-platforms-8e947c07b6dbc426d262a7070fafe3d2ae4c4e04.tar.xz
MdePkg BaseMemoryLibOptDxe: Add function comment for InternalMemCompareGuid
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseMemoryLibOptDxe/Arm/MemLibGuid.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/Arm/MemLibGuid.c b/MdePkg/Library/BaseMemoryLibOptDxe/Arm/MemLibGuid.c
index 8f1e50b2ed..47386e998b 100644
--- a/MdePkg/Library/BaseMemoryLibOptDxe/Arm/MemLibGuid.c
+++ b/MdePkg/Library/BaseMemoryLibOptDxe/Arm/MemLibGuid.c
@@ -15,6 +15,19 @@
#include "MemLibInternals.h"
+/**
+ Internal function to compare two GUIDs.
+
+ This function compares Guid1 to Guid2. If the GUIDs are identical then TRUE is returned.
+ If there are any bit differences in the two GUIDs, then FALSE is returned.
+
+ @param Guid1 A pointer to a 128 bit GUID.
+ @param Guid2 A pointer to a 128 bit GUID.
+
+ @retval TRUE Guid1 and Guid2 are identical.
+ @retval FALSE Guid1 and Guid2 are not identical.
+
+**/
BOOLEAN
EFIAPI
InternalMemCompareGuid (