audk/MdeModulePkg/Library/DxeCapsuleLibFmp
Jiewen Yao 3f31ea1b3d 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>
2016-12-26 12:23:34 +08:00
..
DxeCapsuleLib.c MdeModulePkg/CapsuleLib: Follow UEFI 22.2.3 to process FMP. 2016-12-26 12:23:34 +08:00
DxeCapsuleLib.inf MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance. 2016-11-08 22:37:00 +08:00
DxeCapsuleLib.uni MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance. 2016-11-08 22:37:00 +08:00
DxeCapsuleProcessLib.c MdeModulePkg/CapsuleLib: Follow UEFI 22.2.3 to process FMP. 2016-12-26 12:23:34 +08:00
DxeCapsuleProcessLibNull.c MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance. 2016-11-08 22:37:00 +08:00
DxeCapsuleReportLib.c MdeModulePkg/CapsuleLib: Follow UEFI 22.2.3 to process FMP. 2016-12-26 12:23:34 +08:00
DxeCapsuleReportLibNull.c MdeModulePkg/CapsuleLib: Follow UEFI 22.2.3 to process FMP. 2016-12-26 12:23:34 +08:00
DxeCapsuleRuntime.c MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance. 2016-11-08 22:37:00 +08:00
DxeRuntimeCapsuleLib.inf MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance. 2016-11-08 22:37:00 +08:00
DxeRuntimeCapsuleLib.uni MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance. 2016-11-08 22:37:00 +08:00