OvmfPkg/PlatformBootManagerLib: Do not launch Boot Manager Menu

MdeModulePkg/BDS doesn't launch UI (Boot Manager Menu) from platform
side.
The change removes the code which launches the UI but still set the
boot timeout.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Ruiyu Ni 2016-04-20 17:44:26 +08:00
parent e9e9ad644f
commit 8dc0f0a6aa
3 changed files with 2 additions and 8 deletions

View File

@ -166,6 +166,7 @@ Returns:
ASSERT_EFI_ERROR (Status); ASSERT_EFI_ERROR (Status);
PlatformInitializeConsole (gPlatformConsole); PlatformInitializeConsole (gPlatformConsole);
PcdSet16 (PcdPlatformBootTimeOut, GetFrontPageTimeoutFromQemu ());
} }
@ -1292,8 +1293,6 @@ Routine Description:
// it. // it.
// //
BdsLibBuildOptionFromVar (BootOptionList, L"BootOrder"); BdsLibBuildOptionFromVar (BootOptionList, L"BootOrder");
PlatformBdsEnterFrontPage (GetFrontPageTimeoutFromQemu(), TRUE);
} }
VOID VOID

View File

@ -266,12 +266,6 @@ ConvertSystemTable (
IN OUT VOID **Table IN OUT VOID **Table
); );
VOID
PlatformBdsEnterFrontPage (
IN UINT16 TimeoutDefault,
IN BOOLEAN ConnectAllHappened
);
/** /**
Loads and boots UEFI Linux via the FwCfg interface. Loads and boots UEFI Linux via the FwCfg interface.

View File

@ -59,6 +59,7 @@
gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
[Pcd.IA32, Pcd.X64] [Pcd.IA32, Pcd.X64]
gEfiMdePkgTokenSpaceGuid.PcdFSBClock gEfiMdePkgTokenSpaceGuid.PcdFSBClock