mirror of https://github.com/acidanthera/audk.git
OvmfPkg: PlatformBdsLib: get front page timeout from QEMU
Put QemuBootOrderLib's GetFrontPageTimeoutFromQemu() to use, so that OVMF's Platform BDS policy can consume QEMU's command line option -boot menu=on,splash-time=N RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1170507 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16611 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9253c14d41
commit
ea444a3e42
|
@ -1185,7 +1185,6 @@ Returns:
|
|||
--*/
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
UINT16 Timeout;
|
||||
EFI_BOOT_MODE BootMode;
|
||||
|
||||
DEBUG ((EFI_D_INFO, "PlatformBdsPolicyBehavior\n"));
|
||||
|
@ -1203,11 +1202,6 @@ Returns:
|
|||
PlatformBdsRestoreNvVarsFromHardDisk ();
|
||||
}
|
||||
|
||||
//
|
||||
// Init the time out value
|
||||
//
|
||||
Timeout = PcdGet16 (PcdPlatformBootTimeOut);
|
||||
|
||||
//
|
||||
// Load the driver option as the driver option list
|
||||
//
|
||||
|
@ -1261,7 +1255,7 @@ Returns:
|
|||
//
|
||||
BdsLibBuildOptionFromVar (BootOptionList, L"BootOrder");
|
||||
|
||||
PlatformBdsEnterFrontPage (Timeout, TRUE);
|
||||
PlatformBdsEnterFrontPage (GetFrontPageTimeoutFromQemu(), TRUE);
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
QemuBootOrderLib
|
||||
|
||||
[Pcd]
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut
|
||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent
|
||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable
|
||||
|
|
Loading…
Reference in New Issue