mirror of
https://gitlab.com/qemu-project/edk2.git
synced 2025-10-30 07:56:39 +08:00
EmulatorPkg PlatformBm: Fix duplicate BootManagerMenuApp boot option issue
Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
@ -401,9 +401,9 @@ PlatformBootManagerAfterConsole (
|
||||
case BOOT_WITH_DEFAULT_SETTINGS:
|
||||
default:
|
||||
PlatformBdsDiagnostics (IGNORE, TRUE);
|
||||
PlatformBdsRegisterStaticBootOptions ();
|
||||
PlatformBdsConnectSequence ();
|
||||
EfiBootManagerRefreshAllBootOption ();
|
||||
PlatformBdsRegisterStaticBootOptions ();
|
||||
EfiBootManagerSortLoadOptionVariable (LoadOptionTypeBoot, (SORT_COMPARE)CompareBootOption);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user