From: "gaoliming" <gaoliming@byosoft.com.cn>
To: devel@edk2.groups.io
Cc: Ray Ni <ray.ni@intel.com>, Zhichao Gao <zhichao.gao@intel.com>
Subject: [PATCH] MdeModulePkg BdsDxe: Update BootBootOptions() to continue boot next option
Date: Mon, 16 Jan 2023 14:14:24 +0800 [thread overview]
Message-ID: <20230116061424.459-1-gaoliming@byosoft.com.cn> (raw)
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
reply other threads:[~2023-01-16 6:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230116061424.459-1-gaoliming@byosoft.com.cn \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox