audk/MdeModulePkg/Library/VarCheckHiiLib
Star Zeng 3d110afbca MdeModulePkg VarCheckHii: Make sure the bin at required alignment
According to UEFI/PI spec, the AllocateXXXPool() interfaces should
return eight-byte aligned buffer that satisfies the required
HEADER_ALIGNMENT which is 4.

This patch adds ASSERT to make sure the bin at required alignment,
that can help catch the issue earlier about incorrect aligned buffer
returned from AllocateXXXPool().

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
2018-01-02 09:55:43 +08:00
..
InternalVarCheckStructure.h MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check 2017-11-07 10:02:51 +08:00
VarCheckHii.h MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check 2017-11-07 10:02:51 +08:00
VarCheckHiiGen.c MdeModulePkg VarCheckHii: Make sure the bin at required alignment 2018-01-02 09:55:43 +08:00
VarCheckHiiGen.h
VarCheckHiiGenFromFv.c MdeModulePkg/VarCheckHiiLib: Replace EFI_D_INFO with DEBUG_INFO 2017-11-07 10:02:51 +08:00
VarCheckHiiGenFromHii.c MdeModulePkg/VarCheckHiiLib: Replace EFI_D_INFO with DEBUG_INFO 2017-11-07 10:02:51 +08:00
VarCheckHiiLib.inf MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check 2017-11-07 10:02:51 +08:00
VarCheckHiiLib.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
VarCheckHiiLibNullClass.c MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check 2017-11-07 10:02:51 +08:00