audk/MdePkg/Include
Michael Kinney 6440385b17 MdePkg/Include: Add enumeration size checks to Base.h
https://bugzilla.tianocore.org/show_bug.cgi?id=181

Add size check for 8-bit, 16-bit, and 32-bit enums
to make sure they follow the UEFI Specification 2.3.1
Data Types.

<Enumerated Type>

Element of a standard ANSI C enum type declaration.
Type INT32.or UINT32.  ANSI C does not define the
size of sign of an enum so they should never be
used in structures. ANSI C integer promotion rules
make INT32 or UINT32 interchangeable when passed as
an argument to a function.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2016-10-27 22:22:57 -07:00
..
AArch64 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Arm MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Ebc MdePkg Base.h: Always define ASM_PFX 2014-09-01 17:23:10 +00:00
Guid MdePkg/GraphicsInfoHob: Add GraphicsDeviceInfo HOB GUID and structure 2016-10-12 10:42:15 +08:00
Ia32 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
IndustryStandard MdePkg ACPI60: Update MADT Revision per ACPI 6.0 Errata A 2016-10-26 13:45:24 +08:00
Ipf MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Library MdePkg/PciSegmentLib: Optimize PCI_SEGMENT_LIB_ADDRESS() 2016-10-27 21:57:52 -07:00
Pi MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Ppi MdePkg: Follow PI1.4a update EFI_SEC_PLATFORM_INFORMATION2 description 2016-06-02 16:34:53 +08:00
Protocol MdePkg: Fix typos in comments 2016-10-21 16:40:51 +08:00
Uefi MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
X64 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Base.h MdePkg/Include: Add enumeration size checks to Base.h 2016-10-27 22:22:57 -07:00
PiDxe.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiPei.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiSmm.h Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec. 2011-02-22 10:05:06 +00:00
Uefi.h Update the copyright notice format 2010-04-23 15:46:20 +00:00