BootMaintenanceManagerUiLib: change code for customization.

Change file arrangement to let user easy customize the BMM UI.
After this change:
1. UiCustomizeBMMPage function in BootMaintenanceManagerCustomizedUi.c
use to let user customize BMM first page menus. UiBMMCallbackHandler
function use to handle the callback for the added menus.
2. BootMaintenanceManagerCustomizedUiSupport.c file used to add support
 functions used by BootMaintenanceManagerCustomizedUi.c file.
3. After this change, only above two files need to be updated if BMM
first page menus needed to be changed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Dong, Eric
2016-05-12 16:32:17 +08:00
committed by Liming Gao
parent 6ef3ae6c82
commit a85be3ae48
11 changed files with 811 additions and 380 deletions

View File

@@ -67,10 +67,6 @@
#language fr-FR "Set Memory Check Type"
#string STR_FORM_MEMORY_CHECK_HELP #language en-US "Modify the type of memory checking"
#language fr-FR "Modify the type of memory checking"
#string STR_MEMORY_CHECK_SETUP #language en-US "Memory Check Type"
#language fr-FR "Memory Check Type"
#string STR_MEMORY_CHECK_SETUP_HELP #language en-US "Memory test coverage level. Ignore chooses not to test memory. Quick and Sparse test some memory, and Extensive performs a detailed memory test."
#language fr-FR "Memory test coverage level. Ignore chooses not to test memory. Quick and Sparse test some memory, and Extensive performs a detailed memory test."
#string STR_FORM_UEFI_OPTIMIZED_BOOT_TITLE #language en-US "UEFI Optimized Boot"
#language fr-FR "UEFI Optimized Boot"
#string STR_FORM_UEFI_OPTIMIZED_BOOT_HELP #language en-US "Modify the UEFI Optimized Boot setting"