summaryrefslogtreecommitdiffstats
path: root/CorebootPayloadPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-07-03 13:22:16 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-07-27 15:47:51 +0800
commitad3af920399aaf997efa93f1dcd3f9e914af555d (patch)
tree86f9eacd16cb81c3705f357e803a145c9394764c /CorebootPayloadPkg
parent76f368c9fd3169e1f3ce3129999b23c4a9e0f223 (diff)
downloadedk2-ad3af920399aaf997efa93f1dcd3f9e914af555d.tar.gz
edk2-ad3af920399aaf997efa93f1dcd3f9e914af555d.tar.bz2
edk2-ad3af920399aaf997efa93f1dcd3f9e914af555d.zip
CorebootPayload/PlatformBDS: Impl PlatformBootManagerUnableToBoot
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Cc: Prince Agyeman <prince.agyeman@intel.com> Reviewed-by: Benjamin You <benjamin.you@intel.com>
Diffstat (limited to 'CorebootPayloadPkg')
-rw-r--r--CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
index 7e92441da1..368e89d586 100644
--- a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
@@ -2,7 +2,7 @@
This file include all platform action which can be customized
by IBV/OEM.
-Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -252,3 +252,20 @@ PlatformBootManagerWaitCallback (
{
return;
}
+
+/**
+ 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
+ )
+{
+ return;
+}
+