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 <gaolim...@byosoft.com.cn>
Cc: Ray Ni <ray...@intel.com>
Cc: Zhichao Gao <zhichao....@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/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to