diff options
author | Jiewen Yao <jiewen.yao@intel.com> | 2016-12-23 23:22:30 +0800 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2016-12-26 12:23:34 +0800 |
commit | 3f31ea1b3d59c909734a8b709a0cfb761579981e (patch) | |
tree | 9cbbca1621f51abff724902db8bdbdeaa8042784 /NetworkPkg/HttpDxe/HttpImpl.c | |
parent | 777034ce83a8ee4a13cda7c45524933459237595 (diff) | |
download | edk2-platforms-3f31ea1b3d59c909734a8b709a0cfb761579981e.tar.xz |
MdeModulePkg/CapsuleLib: Follow UEFI 22.2.3 to process FMP.
Previous logic does not follow UEFI 22.2.3 to process FMP strictly.
It may cause FMP image not be processed in some corner case.
The updated logic follows UEFI 22.2.3.
The way to check if a capsule is processed is also simplified.
The function - ProcessFmpCapsuleImage() is too big, so that
we created sub-functions - StartFmpImage(), DumpAllFmpInfo(),
GetFmpHandleBufferByType(), SetFmpImageData(), RecordFmpCapsuleStatus()
to improve the readability.
The function - ProcessTheseCapsules() is too big, so that
we created sub-functions - InitCapsulePtr(), AreAllImagesProcessed(),
PopulateCapsuleInConfigurationTable() to improve the readability.
Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'NetworkPkg/HttpDxe/HttpImpl.c')
0 files changed, 0 insertions, 0 deletions