TianoCore EDK2 master
|
#include "BootMaintenanceManager.h"
Go to the source code of this file.
Dynamically update the pages.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UpdatePage.c.
VOID CleanUpPage | ( | IN UINT16 | LabelId, |
IN BMM_CALLBACK_DATA * | CallbackData | ||
) |
Clean up the dynamic opcode at label and form specified by both LabelId.
LabelId | It is both the Form ID and Label ID for opcode deletion. |
CallbackData | The BMM context data. |
Definition at line 165 of file UpdatePage.c.
VOID CreateUpdateData | ( | VOID | ) |
Create the global UpdateData structure.
Definition at line 16 of file UpdatePage.c.
VOID RefreshUpdateData | ( | VOID | ) |
Refresh the global UpdateData structure.
Definition at line 48 of file UpdatePage.c.
VOID UpdateBootDelPage | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Create a list of boot option from global BootOptionMenu. It allow user to delete the boot option.
CallbackData | The BMM context data. |
Definition at line 227 of file UpdatePage.c.
VOID UpdateConCOMPage | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Create a list of Goto Opcode for all terminal devices logged by TerminaMenu. This list will be inserted to form FORM_CON_COM_SETUP_ID.
CallbackData | The BMM context data. |
Definition at line 192 of file UpdatePage.c.
VOID UpdateConModePage | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Refresh the text mode page.
CallbackData | The BMM context data. |
Definition at line 678 of file UpdatePage.c.
VOID UpdateConsolePage | ( | IN UINT16 | UpdatePageId, |
IN BM_MENU_OPTION * | ConsoleMenu, | ||
IN BMM_CALLBACK_DATA * | CallbackData | ||
) |
Update console page.
UpdatePageId | The form ID to be updated. |
ConsoleMenu | The console menu list. |
CallbackData | The BMM context data. |
Definition at line 445 of file UpdatePage.c.
VOID UpdateDriverAddHandleDescPage | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Prepare the page to allow user to add description for a Driver Option.
CallbackData | The BMM context data. |
Definition at line 372 of file UpdatePage.c.
VOID UpdateDrvAddHandlePage | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Create a lit of driver option from global DriverMenu.
CallbackData | The BMM context data. |
Definition at line 283 of file UpdatePage.c.
VOID UpdateDrvDelPage | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Create a lit of driver option from global DriverOptionMenu. It allow user to delete the driver option.
CallbackData | The BMM context data. |
Definition at line 318 of file UpdatePage.c.
VOID UpdateOptionPage | ( | IN BMM_CALLBACK_DATA * | CallbackData, |
IN EFI_FORM_ID | FormId, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | DevicePath | ||
) |
Update add boot/driver option page.
CallbackData | The BMM context data. |
FormId | The form ID to be updated. |
DevicePath | Device path. |
Definition at line 1035 of file UpdatePage.c.
VOID UpdateOrderPage | ( | IN UINT16 | UpdatePageId, |
IN BM_MENU_OPTION * | OptionMenu, | ||
IN BMM_CALLBACK_DATA * | CallbackData | ||
) |
Update the page's NV Map if user has changed the order a list. This list can be Boot Order or Driver Order.
UpdatePageId | The form ID to be updated. |
OptionMenu | The new list. |
CallbackData | The BMM context data. |
Definition at line 567 of file UpdatePage.c.
VOID UpdatePageBody | ( | IN UINT16 | UpdatePageId, |
IN BMM_CALLBACK_DATA * | CallbackData | ||
) |
Dispatch the correct update page function to call based on the UpdatePageId.
UpdatePageId | The form ID. |
CallbackData | The BMM context data. |
Definition at line 1103 of file UpdatePage.c.
VOID UpdatePageEnd | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Create the "Apply changes" and "Discard changes" tags. And ensure user can return to the main page.
CallbackData | The BMM context data. |
Definition at line 110 of file UpdatePage.c.
VOID UpdatePageId | ( | BMM_CALLBACK_DATA * | Private, |
UINT16 | NewPageId | ||
) |
Dispatch the display to the next page based on NewPageId.
Private | The BMM context data. |
NewPageId | The original page ID. |
Definition at line 1143 of file UpdatePage.c.
VOID UpdatePageStart | ( | IN BMM_CALLBACK_DATA * | CallbackData | ) |
Add a "Go back to main page" tag in front of the form when there are no "Apply changes" and "Discard changes" tags in the end of the form.
CallbackData | The BMM context data. |
Definition at line 79 of file UpdatePage.c.
VOID UpdateTerminalPage | ( | 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.
CallbackData | The BMM context data. |
Definition at line 805 of file UpdatePage.c.