summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Include/Library
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-07-03 13:19:28 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-07-27 15:47:50 +0800
commit76f368c9fd3169e1f3ce3129999b23c4a9e0f223 (patch)
treec0ddf751c1935d5aa38509a25e4ff702740edff2 /MdeModulePkg/Include/Library
parentcef7ecf6cdb44de1520c5d0be9b2c982b59eabc4 (diff)
downloadedk2-76f368c9fd3169e1f3ce3129999b23c4a9e0f223.tar.gz
edk2-76f368c9fd3169e1f3ce3129999b23c4a9e0f223.tar.bz2
edk2-76f368c9fd3169e1f3ce3129999b23c4a9e0f223.zip
MdeModulePkg/PlatformBootManager: Add PlatformBootManagerUnableToBoot
The patch adds a new API PlatformBootManagerUnableToBoot() to PlatformBootManagerLib. The new API is provided by platform bds library and is called when no boot option could be launched. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Michael Turner <Michael.Turner@microsoft.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Sunny Wang <sunnywang@hpe.com>
Diffstat (limited to 'MdeModulePkg/Include/Library')
-rw-r--r--MdeModulePkg/Include/Library/PlatformBootManagerLib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Library/PlatformBootManagerLib.h b/MdeModulePkg/Include/Library/PlatformBootManagerLib.h
index 65630ce2bb..6e26329043 100644
--- a/MdeModulePkg/Include/Library/PlatformBootManagerLib.h
+++ b/MdeModulePkg/Include/Library/PlatformBootManagerLib.h
@@ -59,4 +59,17 @@ PlatformBootManagerWaitCallback (
UINT16 TimeoutRemain
);
+/**
+ The function is called when no boot option could be launched,
+ including platform recovery options and options pointing to applications
+ built into firmware volumes.
+
+ If this function returns, BDS attempts to enter an infinite loop.
+**/
+VOID
+EFIAPI
+PlatformBootManagerUnableToBoot (
+ VOID
+ );
+
#endif