On 04/21/16 08:58, Ruiyu Ni wrote:
> MdeModulePkg/BDS doesn't launch UI (Boot Manager Menu) from platform
> side.
> The change removes the code which launches the UI and but still set
> the boot timeout.
I think the word "and" should be dropped.
Reviewed-by: Laszlo Ersek
Thanks!
Laszlo
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Ruiyu Ni
> Cc: Jordan Justen
> Cc: Laszlo Ersek
> ---
> OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 3 +--
> OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h | 6 --
> OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 1 +
> 3 files changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
> b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
> index 7fc2dd5..38e2943 100644
> --- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
> +++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
> @@ -114,6 +114,7 @@ Returns:
>DEBUG ((EFI_D_INFO, "PlatformBootManagerBeforeConsole\n"));
>InstallDevicePathCallback ();
>PlatformInitializeConsole (gPlatformConsole);
> + PcdSet16 (PcdPlatformBootTimeOut, GetFrontPageTimeoutFromQemu ());
> }
>
>
> @@ -1277,8 +1278,6 @@ Routine Description:
>// it.
>//
>BdsLibBuildOptionFromVar (BootOptionList, L"BootOrder");
> -
> - PlatformBdsEnterFrontPage (GetFrontPageTimeoutFromQemu(), TRUE);
> }
>
> VOID
> diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
> b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
> index fb22790..796b53d 100644
> --- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
> +++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.h
> @@ -266,12 +266,6 @@ ConvertSystemTable (
> IN OUT VOID **Table
>);
>
> -VOID
> -PlatformBdsEnterFrontPage (
> - IN UINT16 TimeoutDefault,
> - IN BOOLEANConnectAllHappened
> - );
> -
> /**
>Loads and boots UEFI Linux via the FwCfg interface.
>
> diff --git
> a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
> b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
> index 00a7583..f9cbe65 100644
> --- a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
> +++ b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
> @@ -59,6 +59,7 @@ [Pcd]
>gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent
>gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable
>gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
> + gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
>
> [Pcd.IA32, Pcd.X64]
>gEfiMdePkgTokenSpaceGuid.PcdFSBClock
>
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel