public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] MdeModulePkg BdsDxe: Update BootBootOptions() to continue boot next option
@ 2023-01-16  6:14 gaoliming
  0 siblings, 0 replies; only message in thread
From: gaoliming @ 2023-01-16  6:14 UTC (permalink / raw)
  To: devel; +Cc: Ray Ni, Zhichao Gao

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4302

BdsDxe BootBootOptions() is triged at auto boot mode instead of an interactive
mode. So, even if the last boot option returns EFI_SUCCESS, next boot 
option should be processed.

Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
---
 MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
index 766dde3aae..7e9f03d06c 100644
--- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
+++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
@@ -412,17 +412,6 @@ BootBootOptions (
     // now boot will be performed.
     //
     EfiBootManagerBoot (&BootOptions[Index]);
-
-    //
-    // If the boot via Boot#### returns with a status of EFI_SUCCESS, platform firmware
-    // supports boot manager menu, and if firmware is configured to boot in an
-    // interactive mode, the boot manager will stop processing the BootOrder variable and
-    // present a boot manager menu to the user.
-    //
-    if ((BootManagerMenu != NULL) && (BootOptions[Index].Status == EFI_SUCCESS)) {
-      EfiBootManagerBoot (BootManagerMenu);
-      break;
-    }
   }
 
   return (BOOLEAN)(Index < BootOptionCount);
-- 
2.37.3.windows.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-16  6:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-16  6:14 [PATCH] MdeModulePkg BdsDxe: Update BootBootOptions() to continue boot next option gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox