]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg Base.h: Add add comments on __ prefix in enum VERIFY_UINTXX_ENUM_SIZE
authorLiming Gao <liming.gao@intel.com>
Fri, 11 Nov 2016 03:30:13 +0000 (11:30 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 18 Nov 2016 03:10:05 +0000 (11:10 +0800)
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
MdePkg/Include/Base.h

index 5e24b5d487b970694b75b7ea661173f9bdcebb7d..8f5b919faaf153411d084dadbb146e68a943d12a 100644 (file)
@@ -63,6 +63,13 @@ VERIFY_SIZE_OF (UINT64, 8);
 VERIFY_SIZE_OF (CHAR8, 1);\r
 VERIFY_SIZE_OF (CHAR16, 2);\r
 \r
+//\r
+// The following three enum types are used to verify that the compiler\r
+// configuration for enum types is compliant with Section 2.3.1 of the \r
+// UEFI 2.3 Specification. These enum types and enum values are not \r
+// intended to be used. A prefix of '__' is used avoid conflicts with\r
+// other types.\r
+//\r
 typedef enum {\r
   __VerifyUint8EnumValue = 0xff\r
 } __VERIFY_UINT8_ENUM_SIZE;\r