[edk2-devel] [PATCH] MdeModulePkg BdsDxe: Update BootBootOptions() to continue boot next option

gaoliming via groups.io gaoliming=byosoft.com.cn at groups.io
Mon Jan 16 06:14:24 UTC 2023


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 at byosoft.com.cn>
Cc: Ray Ni <ray.ni at intel.com>
Cc: Zhichao Gao <zhichao.gao at 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




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#98551): https://edk2.groups.io/g/devel/message/98551
Mute This Topic: https://groups.io/mt/96302075/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list