]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/PeiHobLib/HobLib.c
MdePkg HobLib: Check FV alignment when building FV HOB
authorStar Zeng <star.zeng@intel.com>
Mon, 14 Nov 2016 02:52:29 +0000 (10:52 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 17 Nov 2016 01:27:12 +0000 (09:27 +0800)
commit471d6210a8ce64a5c88109445e8c36d38d2308da
tree10824ee0dcf2e04751a6213644ac9b49d470685b
parent619c48896334ef342dad20cf2601dc7628f7c807
MdePkg HobLib: Check FV alignment when building FV HOB

If the FvImage buffer is not at its required alignment, then ASSERT().
Also update the function header description of BuildFv(2)Hob()
correspondingly.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=205

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
MdePkg/Include/Library/HobLib.h
MdePkg/Library/DxeCoreHobLib/HobLib.c
MdePkg/Library/DxeHobLib/HobLib.c
MdePkg/Library/PeiHobLib/HobLib.c