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

@@ -41,6 +41,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/UefiHiiServicesLib.h>
#include <Library/UefiBootManagerLib.h>
#include <Library/FileExplorerLib.h>
#include "BootMaintenanceManagerCustomizedUi.h"
#pragma pack(1)
@@ -917,26 +918,6 @@ UpdatePageBody (
IN BMM_CALLBACK_DATA *CallbackData
);
/**
Create the dynamic page to allow user to set the "BootNext" vaule.
@param CallbackData The BMM context data.
**/
VOID
UpdateBootNextPage (
IN BMM_CALLBACK_DATA *CallbackData
);
/**
Create the dynamic page to allow user to set the "TimeOut" vaule.
@param CallbackData The BMM context data.
**/
VOID
UpdateTimeOutPage (
IN BMM_CALLBACK_DATA *CallbackData
);
/**
Create the dynamic page which allows user to set the property such as Baud Rate, Data Bits,
Parity, Stop Bits, Terminal Type.