]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/PlatformBDS: Implement PlatformBootManagerUnableToBoot
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 4 Jul 2018 01:32:47 +0000 (09:32 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 27 Jul 2018 07:47:55 +0000 (15:47 +0800)
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c

index 079f1552d5eac7d077f0bbd14b22a8e01c5acadd..f9c71d430c99352bfbc2f67854c016f0a19e53bc 100644 (file)
@@ -3,7 +3,7 @@
 \r
   Copyright (C) 2015-2016, Red Hat, Inc.\r
   Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>\r
 \r
   Copyright (C) 2015-2016, Red Hat, Inc.\r
   Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>\r
-  Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
   Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials are licensed and made available\r
   Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials are licensed and made available\r
@@ -766,3 +766,19 @@ PlatformBootManagerWaitCallback (
     Print (L".");\r
   }\r
 }\r
     Print (L".");\r
   }\r
 }\r
+\r
+/**\r
+  The function is called when no boot option could be launched,\r
+  including platform recovery options and options pointing to applications\r
+  built into firmware volumes.\r
+\r
+  If this function returns, BDS attempts to enter an infinite loop.\r
+**/\r
+VOID\r
+EFIAPI\r
+PlatformBootManagerUnableToBoot (\r
+  VOID\r
+  )\r
+{\r
+  return;\r
+}\r