From b33af2214532c7d7511afef108d58b5263d18e00 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Mon, 31 Oct 2016 16:34:41 +0800 Subject: MdeModulePkg/UefiBootManager: Add EfiBootManagerDispatchDeferredImages The API dispatches the deferred images that are returned from all DeferredImageLoad instances. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Liming Gao Reviewed-by: Chao B Zhang Reviewed-by: Sunny Wang --- MdeModulePkg/Include/Library/UefiBootManagerLib.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'MdeModulePkg/Include') diff --git a/MdeModulePkg/Include/Library/UefiBootManagerLib.h b/MdeModulePkg/Include/Library/UefiBootManagerLib.h index e333ffd86b..97ac1f233c 100644 --- a/MdeModulePkg/Include/Library/UefiBootManagerLib.h +++ b/MdeModulePkg/Include/Library/UefiBootManagerLib.h @@ -777,4 +777,17 @@ EfiBootManagerIsValidLoadOptionVariableName ( OUT UINT16 *OptionNumber OPTIONAL ); + +/** + Dispatch the deferred images that are returned from all DeferredImageLoad instances. + + @retval EFI_SUCCESS At least one deferred image is loaded successfully and started. + @retval EFI_NOT_FOUND There is no deferred image. + @retval EFI_ACCESS_DENIED There are deferred images but all of them are failed to load. +**/ +EFI_STATUS +EFIAPI +EfiBootManagerDispatchDeferredImages ( + VOID + ); #endif -- cgit v1.2.3