mirror of https://github.com/acidanthera/audk.git
MdePkg Base.h: Add add comments on __ prefix in enum VERIFY_UINTXX_ENUM_SIZE
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>
This commit is contained in:
parent
c023a57e3b
commit
bd5ef82698
|
@ -63,6 +63,13 @@ VERIFY_SIZE_OF (UINT64, 8);
|
||||||
VERIFY_SIZE_OF (CHAR8, 1);
|
VERIFY_SIZE_OF (CHAR8, 1);
|
||||||
VERIFY_SIZE_OF (CHAR16, 2);
|
VERIFY_SIZE_OF (CHAR16, 2);
|
||||||
|
|
||||||
|
//
|
||||||
|
// The following three enum types are used to verify that the compiler
|
||||||
|
// configuration for enum types is compliant with Section 2.3.1 of the
|
||||||
|
// UEFI 2.3 Specification. These enum types and enum values are not
|
||||||
|
// intended to be used. A prefix of '__' is used avoid conflicts with
|
||||||
|
// other types.
|
||||||
|
//
|
||||||
typedef enum {
|
typedef enum {
|
||||||
__VerifyUint8EnumValue = 0xff
|
__VerifyUint8EnumValue = 0xff
|
||||||
} __VERIFY_UINT8_ENUM_SIZE;
|
} __VERIFY_UINT8_ENUM_SIZE;
|
||||||
|
|
Loading…
Reference in New Issue