]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFrameworkPkg PeiHobLib: Check FV alignment when building FV HOB
authorStar Zeng <star.zeng@intel.com>
Wed, 16 Nov 2016 02:01:57 +0000 (10:01 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 17 Nov 2016 01:27:13 +0000 (09:27 +0800)
commit368871a352d1e767397b1f3bed2b85ac26ee2c77
tree0e159af8099665e4a45b8253cc27b9ed2026ca72
parent471d6210a8ce64a5c88109445e8c36d38d2308da
IntelFrameworkPkg PeiHobLib: 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>
Cc: Jeff Fan <jeff.fan@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>
IntelFrameworkPkg/Library/PeiHobLibFramework/HobLib.c