MdeModulePkg: Add BootDiscoveryPolicyUiLib.

This library extends Boot Maintenance Menu and allows to select
Boot Discovery Policy. When choice is made BootDiscoveryPolicy
variable is set. Platform code can use this variable to decide
which class of device shall be connected.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Sunny Wang <sunny.wang@arm.com>
This commit is contained in:
Grzegorz Bernacki
2021-08-02 20:18:35 +08:00
committed by mergify[bot]
parent 03e77558d4
commit 2b47aaecef
8 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
// *++
//
// Copyright (c) 2021, ARM Ltd. All rights reserved.<BR>
// Copyright (c) 2021, Semihalf All rights reserved.<BR>
// SPDX-License-Identifier: BSD-2-Clause-Patent
//
// Module Name:
//
// BootDiscoveryPolicyUiLibStrings.uni
//
// Abstract:
//
// String definitions for Boot Discovery Policy UI.
//
// --*/
/=#
#langdef en-US "English"
#string STR_FORM_BDP_MAIN_TITLE #language en-US "Boot Discovery Policy"
#string STR_FORM_BDP_CONN_MIN #language en-US "Minimal"
#string STR_FORM_BDP_CONN_NET #language en-US "Connect Network Devices"
#string STR_FORM_BDP_CONN_ALL #language en-US "Connect All Devices"