From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web10.160547.1673849688550976840 for ; Sun, 15 Jan 2023 22:14:49 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@byosoft.com.cn header.s=cloud-union header.b=VqjzcUHk; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 78252CD1F65C for ; Mon, 16 Jan 2023 14:14:45 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1673849685; bh=uWnOi2UZq2LXtbIhsiWRq4tSWGjHvcCCfOSvnhCR6oA=; h=From:To:Cc:Subject:Date; b=VqjzcUHkLX66o3BRb2l+AAP7S6MO/jY4zsoyvPVkQe6LZxqIbvWFXHPVR8FQPE6Th nWzdXTH/SIXroC+ys8R6lkk9KRbJRdmjaG9arsDUPg3M6w52suVRhrsKXtjFUmq4ME CBYLeJ7kg7NJ+yZzmmWPMVbdesE/EsLFOa8PqXHo= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 74170CD1F66D for ; Mon, 16 Jan 2023 14:14:45 +0800 (CST) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 49436CD1F64F for ; Mon, 16 Jan 2023 14:14:45 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id 3D846CD1F666 for ; Mon, 16 Jan 2023 14:14:42 +0800 (CST) Received: from localhost.localdomain ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 16 Jan 2023 14:14:42 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao Subject: [PATCH] MdeModulePkg BdsDxe: Update BootBootOptions() to continue boot next option Date: Mon, 16 Jan 2023 14:14:24 +0800 Message-Id: <20230116061424.459-1-gaoliming@byosoft.com.cn> X-Mailer: git-send-email 2.37.3.windows.1 MIME-Version: 1.0 Sender: Liming Gao Content-Transfer-Encoding: quoted-printable BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4302 BdsDxe BootBootOptions() is triged at auto boot mode instead of an intera= ctive mode. So, even if the last boot option returns EFI_SUCCESS, next boot=20 option should be processed. Signed-off-by: Liming Gao Cc: Ray Ni Cc: Zhichao Gao --- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Univ= ersal/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, pl= atform firmware - // supports boot manager menu, and if firmware is configured to boot= in an - // interactive mode, the boot manager will stop processing the BootO= rder variable and - // present a boot manager menu to the user. - // - if ((BootManagerMenu !=3D NULL) && (BootOptions[Index].Status =3D=3D= EFI_SUCCESS)) { - EfiBootManagerBoot (BootManagerMenu); - break; - } } =20 return (BOOLEAN)(Index < BootOptionCount); --=20 2.37.3.windows.1