audk/MdeModulePkg/Library/DxeCapsuleLibFmp
Ard Biesheuvel 1342bd4486 MdeModulePkg/DxeCapsuleLibFmp: pass progress callback only if it works
If the first call to UpdateImageProgress() fails, there is no point
in passing a pointer to it to Fmp->SetImage(), since it is highly
unlikely to succeed on any subsequent calls.

This permits the FMP implementation to fall back to an alternate means
of providing feedback to the user, e.g., via the console.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2018-06-15 18:18:17 +02:00
..
DxeCapsuleLib.c MdeModulePkg/DxeCapsuleLibFmp: pass progress callback only if it works 2018-06-15 18:18:17 +02:00
DxeCapsuleLib.inf MdeModulePkg/DxeCapsuleLibFmp: Add progress bar support 2018-06-08 15:40:54 -07:00
DxeCapsuleLib.uni
DxeCapsuleProcessLib.c MdeModulePkg/DxeCapsuleLibFmp: Add progress bar support 2018-06-08 15:40:54 -07:00
DxeCapsuleProcessLibNull.c MdeModulePkg/DxeCapsuleLibFmp: Add progress bar support 2018-06-08 15:40:54 -07:00
DxeCapsuleReportLib.c MdeModulePkg/CapsuleLib: Free the buffer returned by GetVariable2 API 2017-03-13 09:15:52 +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: Fix build failure 2017-03-20 10:26:59 +08:00
DxeRuntimeCapsuleLib.inf MdeModulePkg/DxeCapsuleLibFmp: Add progress bar support 2018-06-08 15:40:54 -07:00
DxeRuntimeCapsuleLib.uni