mirror of https://github.com/acidanthera/audk.git
3f31ea1b3d
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> |
||
---|---|---|
.. | ||
DxeCapsuleLib.c | ||
DxeCapsuleLib.inf | ||
DxeCapsuleLib.uni | ||
DxeCapsuleProcessLib.c | ||
DxeCapsuleProcessLibNull.c | ||
DxeCapsuleReportLib.c | ||
DxeCapsuleReportLibNull.c | ||
DxeCapsuleRuntime.c | ||
DxeRuntimeCapsuleLib.inf | ||
DxeRuntimeCapsuleLib.uni |