audk/MdeModulePkg/Universal
Bi, Dandan 6b86f6f336 MdeModulePkg/DriverSampleDxe: Make bit fields aligned in C structure
For a structure with a series of bit fields and used as a storage
in vfr file, and if the bit fields do not add up to the size of
the defined type.In the C code use sizeof() to get size of the
structure, the results may vary form the compiler(VS,GCC...).
But the size of the storage calculated by VfrCompiler is fixed
(calculate with alignment).To avoid the issue cased by above case,
we need to make the total width of the bit fields in the structure
aligned with the size of the defined type for these bit fields.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-02-09 17:04:15 +08:00
..
Acpi MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure 2018-02-08 12:50:21 +08:00
BdsDxe MdeModulePkg/BdsDxe: fall back to a Boot Manager Menu loop before hanging 2017-11-27 17:23:33 +01:00
BootManagerPolicyDxe
CapsulePei MdeModulePkg CapsulePei: Sort and merge memory resource entries 2017-12-05 10:21:18 +08:00
CapsuleRuntimeDxe MdeModulePkg: Error Level is not used correctly 2017-04-12 08:56:12 +08:00
Console MdeModulePkg/ConSplitter: ReadKeyStrokeEx always return key state 2018-02-01 14:03:53 +08:00
DebugPortDxe MdeModulePkg: Refine type cast for pointer subtraction 2017-03-06 14:14:09 +08:00
DebugSupportDxe MdeModulePkg: Update DebugSupportDxe to pass XCODE5 build 2018-01-16 23:30:12 +08:00
DevicePathDxe
Disk MdeModulePkg/Partition: Fix media probe 2018-01-26 18:56:25 +08:00
DisplayEngineDxe MdeModulePkg/DisplayEngineDxe: Remove unnecessary parentheses in 'if' 2017-12-06 08:47:56 +08:00
DriverHealthManagerDxe
DriverSampleDxe MdeModulePkg/DriverSampleDxe: Make bit fields aligned in C structure 2018-02-09 17:04:15 +08:00
EbcDxe MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
EsrtDxe MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files 2017-10-10 18:10:25 +08:00
FaultTolerantWriteDxe MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
FaultTolerantWritePei
FileExplorerDxe
FvSimpleFileSystemDxe MdeModulePkg: Fix misuses of AllocateCopyPool 2017-11-08 17:13:03 +08:00
HiiDatabaseDxe MdeModulePkg HiiDataBase: Fix the potential NULL pointer access 2017-12-28 13:34:34 +08:00
HiiResourcesSampleDxe
LegacyRegion2Dxe
LoadFileOnFv2 MdeModulePkg LoadFileOnFv2: Correct the parameter name in function comment 2016-10-25 11:53:59 +08:00
LockBox/SmmLockBox MdeModulePkg: Error Level is not used correctly 2017-04-12 08:56:12 +08:00
MemoryTest MdeModulePkg/Universal: Fix typos in comments 2016-10-27 09:11:19 +08:00
Metronome
MonotonicCounterRuntimeDxe
Network MdeModulePkg/PXE: Add warning message for PXE if failed to read system GUID from SMBIOS. 2018-02-05 13:38:48 +08:00
PCD MdeModulePkg: Update PCD driver to support the optimized PcdDataBase 2017-12-25 11:05:57 +08:00
PcatSingleSegmentPciCfg2Pei
PlatformDriOverrideDxe MdeModulePkg: Error Level is not used correctly 2017-04-12 08:56:12 +08:00
PrintDxe MdeModulePkg/PrintDxe: Handle the deprecation of [A|U]ValueToString 2017-03-02 09:59:06 +08:00
PropertiesTableAttributesDxe
RegularExpressionDxe MdeModulePkg: Delete useless case code 2017-08-16 16:55:22 +08:00
ReportStatusCodeRouter
ResetSystemPei MdeModulePkg/ResetSystemPei: Add reset notifications in PEI 2018-02-09 15:30:01 +08:00
ResetSystemRuntimeDxe MdeModulePkg/ResetSystemRuntimeDxe: Add more debug message 2018-02-09 15:29:57 +08:00
SectionExtractionDxe
SectionExtractionPei MdeModulePkg SectionExtractionPei: remove the hard code alignment adjustment 2018-01-19 13:20:20 +08:00
SecurityStubDxe MdeModulePkg: Update Ppi/Protocol/Guid usage in INF files 2017-10-10 18:10:25 +08:00
SerialDxe MdeModulePkg/SerialDxe: Do not fail reset when SetAttributes is not supported 2017-11-30 09:11:53 +08:00
SetupBrowserDxe MdeModulePkg: Fix MSFT C4255 warning 2017-11-14 18:18:43 +08:00
SmbiosDxe MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
SmbiosMeasurementDxe MdeModulePkg SmbiosMeasurementDxe: Skip measurement for OEM type 2017-09-18 10:19:40 +08:00
SmmCommunicationBufferDxe
StatusCodeHandler
TimestampDxe
Variable MdeModulePkg Variable: Use boolean type value instead of expression 2017-12-27 17:40:41 +08:00
WatchdogTimerDxe MdeModulePkg/Universal: Fix typos in comments 2016-10-27 09:11:19 +08:00