]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c
MdeModulePkg DxeCore: Check FvImage alignment
authorStar Zeng <star.zeng@intel.com>
Tue, 28 Nov 2017 02:47:19 +0000 (10:47 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 1 Dec 2017 01:36:55 +0000 (09:36 +0800)
commit5d0b4eb453bb0359487450e26884eebb8b452ff4
tree19d174b23088d1fa7319c765cbd221541d479f7c
parent56c909f3b388753dce53f8ba0061236916dbb220
MdeModulePkg DxeCore: Check FvImage alignment

No need to allocate aligned buffer if FvImage has been
at required alignment.

Then the code logic will be aligned with ProcessFvFile() in
MdeModulePkg/Core/Pei/FwVol/FwVol.c.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c