mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
EmulatorPkg PlatformBm: Fix duplicate BootManagerMenuApp boot option issue
Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
parent
0df3729ad6
commit
e356b0f6fd
@ -401,9 +401,9 @@ PlatformBootManagerAfterConsole (
|
|||||||
case BOOT_WITH_DEFAULT_SETTINGS:
|
case BOOT_WITH_DEFAULT_SETTINGS:
|
||||||
default:
|
default:
|
||||||
PlatformBdsDiagnostics (IGNORE, TRUE);
|
PlatformBdsDiagnostics (IGNORE, TRUE);
|
||||||
PlatformBdsRegisterStaticBootOptions ();
|
|
||||||
PlatformBdsConnectSequence ();
|
PlatformBdsConnectSequence ();
|
||||||
EfiBootManagerRefreshAllBootOption ();
|
EfiBootManagerRefreshAllBootOption ();
|
||||||
|
PlatformBdsRegisterStaticBootOptions ();
|
||||||
EfiBootManagerSortLoadOptionVariable (LoadOptionTypeBoot, (SORT_COMPARE)CompareBootOption);
|
EfiBootManagerSortLoadOptionVariable (LoadOptionTypeBoot, (SORT_COMPARE)CompareBootOption);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user