24 ASSERT (mStartOpCodeHandle !=
NULL);
27 ASSERT (mEndOpCodeHandle !=
NULL);
40 mEndLabel->
Number = LABEL_END;
55 if (mStartOpCodeHandle !=
NULL) {
84 mStartLabel->
Number = CallbackData->BmmCurrentPageId;
86 if (!(CallbackData->BmmAskSaveOrNot)) {
117 if (CallbackData->BmmAskSaveOrNot) {
128 KEY_VALUE_SAVE_AND_EXIT,
131 EFI_IFR_FLAG_CALLBACK,
141 KEY_VALUE_NO_SAVE_AND_EXIT,
144 EFI_IFR_FLAG_CALLBACK,
149 CallbackData->BmmHiiHandle,
151 CallbackData->BmmCurrentPageId,
175 mStartLabel->
Number = LabelId;
177 CallbackData->BmmHiiHandle,
199 CallbackData->BmmAskSaveOrNot =
TRUE;
203 for (Index = 0; Index < TerminalMenu.MenuNumber; Index++) {
208 FORM_CON_COM_SETUP_ID,
209 NewMenuEntry->DisplayStringToken,
211 EFI_IFR_FLAG_CALLBACK,
212 (UINT16)(TERMINAL_OPTION_OFFSET + Index)
235 CallbackData->BmmAskSaveOrNot =
TRUE;
239 ASSERT (
BootOptionMenu.MenuNumber <= (sizeof (CallbackData->BmmFakeNvData.BootOptionDel) / sizeof (CallbackData->BmmFakeNvData.BootOptionDel[0])));
243 if (NewLoadContext->IsLegacy) {
247 NewLoadContext->Deleted =
FALSE;
249 if (CallbackData->BmmFakeNvData.BootOptionDel[Index] && !CallbackData->BmmFakeNvData.BootOptionDelMark[Index]) {
256 CallbackData->BmmFakeNvData.BootOptionDel[Index] =
FALSE;
257 CallbackData->BmmOldFakeNVData.BootOptionDel[Index] =
FALSE;
262 (EFI_QUESTION_ID)(BOOT_OPTION_DEL_QUESTION_ID + Index),
263 VARSTORE_ID_BOOT_MAINT,
264 (UINT16)(BOOT_OPTION_DEL_VAR_OFFSET + Index),
265 NewMenuEntry->DisplayStringToken,
266 NewMenuEntry->HelpStringToken,
267 EFI_IFR_FLAG_CALLBACK,
290 CallbackData->BmmAskSaveOrNot =
FALSE;
294 for (Index = 0; Index <
DriverMenu.MenuNumber; Index++) {
299 FORM_DRV_ADD_HANDLE_DESC_ID,
300 NewMenuEntry->DisplayStringToken,
302 EFI_IFR_FLAG_CALLBACK,
303 (UINT16)(HANDLE_OPTION_OFFSET + Index)
326 CallbackData->BmmAskSaveOrNot =
TRUE;
330 ASSERT (
DriverOptionMenu.MenuNumber <= (sizeof (CallbackData->BmmFakeNvData.DriverOptionDel) / sizeof (CallbackData->BmmFakeNvData.DriverOptionDel[0])));
335 NewLoadContext->Deleted =
FALSE;
337 if (CallbackData->BmmFakeNvData.DriverOptionDel[Index] && !CallbackData->BmmFakeNvData.DriverOptionDelMark[Index]) {
344 CallbackData->BmmFakeNvData.DriverOptionDel[Index] =
FALSE;
345 CallbackData->BmmOldFakeNVData.DriverOptionDel[Index] =
FALSE;
350 (EFI_QUESTION_ID)(DRIVER_OPTION_DEL_QUESTION_ID + Index),
351 VARSTORE_ID_BOOT_MAINT,
352 (UINT16)(DRIVER_OPTION_DEL_VAR_OFFSET + Index),
353 NewMenuEntry->DisplayStringToken,
354 NewMenuEntry->HelpStringToken,
355 EFI_IFR_FLAG_CALLBACK,
378 CallbackData->BmmFakeNvData.DriverAddActive = 0x01;
379 CallbackData->BmmFakeNvData.DriverAddForceReconnect = 0x00;
380 CallbackData->BmmAskSaveOrNot =
TRUE;
381 NewMenuEntry = CallbackData->MenuEntry;
387 NewMenuEntry->DisplayStringToken,
395 (EFI_QUESTION_ID)DRV_ADD_HANDLE_DESC_QUESTION_ID,
396 VARSTORE_ID_BOOT_MAINT,
397 DRV_ADD_HANDLE_DESC_VAR_OFFSET,
409 (EFI_QUESTION_ID)DRV_ADD_RECON_QUESTION_ID,
410 VARSTORE_ID_BOOT_MAINT,
411 DRV_ADD_RECON_VAR_OFFSET,
421 (EFI_QUESTION_ID)DRIVER_ADD_OPTION_QUESTION_ID,
422 VARSTORE_ID_BOOT_MAINT,
423 DRIVER_ADD_OPTION_VAR_OFFSET,
458 EFI_QUESTION_ID QuestionIdBase;
459 UINT16 VariableOffsetBase;
461 CallbackData->BmmAskSaveOrNot =
TRUE;
467 VariableOffsetBase = 0;
471 ConsoleCheck = &CallbackData->BmmFakeNvData.ConsoleInCheck[0];
472 QuestionIdBase = CON_IN_DEVICE_QUESTION_ID;
473 VariableOffsetBase = CON_IN_DEVICE_VAR_OFFSET;
476 case FORM_CON_OUT_ID:
477 ConsoleCheck = &CallbackData->BmmFakeNvData.ConsoleOutCheck[0];
478 QuestionIdBase = CON_OUT_DEVICE_QUESTION_ID;
479 VariableOffsetBase = CON_OUT_DEVICE_VAR_OFFSET;
482 case FORM_CON_ERR_ID:
483 ConsoleCheck = &CallbackData->BmmFakeNvData.ConsoleErrCheck[0];
484 QuestionIdBase = CON_ERR_DEVICE_QUESTION_ID;
485 VariableOffsetBase = CON_ERR_DEVICE_VAR_OFFSET;
489 ASSERT (ConsoleCheck !=
NULL);
491 for (Index = 0; ((Index < ConsoleMenu->MenuNumber) && \
492 (Index < MAX_MENU_NUMBER)); Index++)
497 if (NewConsoleContext->IsActive) {
498 CheckFlags |= EFI_IFR_CHECKBOX_DEFAULT;
499 ConsoleCheck[Index] =
TRUE;
501 ConsoleCheck[Index] =
FALSE;
506 (EFI_QUESTION_ID)(QuestionIdBase + Index),
507 VARSTORE_ID_BOOT_MAINT,
508 (UINT16)(VariableOffsetBase + Index),
509 NewMenuEntry->DisplayStringToken,
510 NewMenuEntry->HelpStringToken,
511 EFI_IFR_FLAG_CALLBACK,
517 for (Index2 = 0; ((Index2 < TerminalMenu.MenuNumber) && \
518 (Index2 < MAX_MENU_NUMBER)); Index2++)
524 ASSERT (Index < MAX_MENU_NUMBER);
525 if (((NewTerminalContext->IsConIn != 0) && (
UpdatePageId == FORM_CON_IN_ID)) ||
526 ((NewTerminalContext->IsConOut != 0) && (
UpdatePageId == FORM_CON_OUT_ID)) ||
527 ((NewTerminalContext->IsStdErr != 0) && (
UpdatePageId == FORM_CON_ERR_ID))
530 CheckFlags |= EFI_IFR_CHECKBOX_DEFAULT;
532 if (Index < MAX_MENU_NUMBER) {
533 ConsoleCheck[Index] =
TRUE;
535 }
else if (Index < MAX_MENU_NUMBER) {
536 ConsoleCheck[Index] =
FALSE;
541 (EFI_QUESTION_ID)(QuestionIdBase + Index),
542 VARSTORE_ID_BOOT_MAINT,
543 (UINT16)(VariableOffsetBase + Index),
544 NewMenuEntry->DisplayStringToken,
545 NewMenuEntry->HelpStringToken,
546 EFI_IFR_FLAG_CALLBACK,
576 VOID *OptionsOpCodeHandle;
577 BOOLEAN BootOptionFound;
579 EFI_QUESTION_ID QuestionId;
582 CallbackData->BmmAskSaveOrNot =
TRUE;
589 case FORM_BOOT_CHG_ID:
596 if (
CompareMem (CallbackData->BmmFakeNvData.BootOptionOrder, CallbackData->BmmOldFakeNVData.BootOptionOrder, sizeof (CallbackData->BmmFakeNvData.BootOptionOrder)) == 0) {
600 OptionOrder = CallbackData->BmmFakeNvData.BootOptionOrder;
601 QuestionId = BOOT_OPTION_ORDER_QUESTION_ID;
602 VarOffset = BOOT_OPTION_ORDER_VAR_OFFSET;
605 case FORM_DRV_CHG_ID:
612 if (
CompareMem (CallbackData->BmmFakeNvData.DriverOptionOrder, CallbackData->BmmOldFakeNVData.DriverOptionOrder, sizeof (CallbackData->BmmFakeNvData.DriverOptionOrder)) == 0) {
616 OptionOrder = CallbackData->BmmFakeNvData.DriverOptionOrder;
617 QuestionId = DRIVER_OPTION_ORDER_QUESTION_ID;
618 VarOffset = DRIVER_OPTION_ORDER_VAR_OFFSET;
622 ASSERT (OptionOrder !=
NULL);
625 ASSERT (OptionsOpCodeHandle !=
NULL);
628 for (OptionIndex = 0; (OptionIndex < MAX_MENU_NUMBER && OptionOrder[OptionIndex] != 0); OptionIndex++) {
629 BootOptionFound =
FALSE;
630 for (Index = 0; Index < OptionMenu->MenuNumber; Index++) {
632 if ((UINT32)(NewMenuEntry->OptionNumber + 1) == OptionOrder[OptionIndex]) {
633 BootOptionFound =
TRUE;
638 if (BootOptionFound) {
641 NewMenuEntry->DisplayStringToken,
643 EFI_IFR_TYPE_NUM_SIZE_32,
644 OptionOrder[OptionIndex]
649 if (OptionMenu->MenuNumber > 0) {
653 VARSTORE_ID_BOOT_MAINT,
659 EFI_IFR_TYPE_NUM_SIZE_32,
686 CHAR16 ModeString[50];
690 EFI_STRING_ID *ModeToken;
692 VOID *OptionsOpCodeHandle;
698 MaxMode = (
UINTN)(ConOut->Mode->MaxMode);
700 CallbackData->BmmAskSaveOrNot =
TRUE;
707 for (Mode = 0; Mode < MaxMode; Mode++) {
708 Status = ConOut->QueryMode (ConOut, Mode, &Col, &Row);
709 if (EFI_ERROR (Status)) {
716 if (ValidMode == 0) {
721 ASSERT (OptionsOpCodeHandle !=
NULL);
724 ASSERT (ModeToken !=
NULL);
734 for (Mode = 0; Mode < MaxMode; Mode++) {
735 Status = ConOut->QueryMode (ConOut, Mode, &Col, &Row);
736 if (EFI_ERROR (Status)) {
744 PStr = &ModeString[0];
746 PStr = PStr +
StrLen (PStr);
749 sizeof (ModeString) - ((
UINTN)PStr - (
UINTN)&ModeString[0]),
755 ModeToken[Index] =
HiiSetString (CallbackData->BmmHiiHandle, 0, ModeString,
NULL);
757 if (Mode == CallbackData->BmmFakeNvData.ConsoleOutMode) {
761 EFI_IFR_OPTION_DEFAULT,
762 EFI_IFR_TYPE_NUM_SIZE_16,
770 EFI_IFR_TYPE_NUM_SIZE_16,
780 (EFI_QUESTION_ID)CON_MODE_QUESTION_ID,
781 VARSTORE_ID_BOOT_MAINT,
785 EFI_IFR_FLAG_RESET_REQUIRED,
786 EFI_IFR_NUMERIC_SIZE_2,
812 VOID *OptionsOpCodeHandle;
813 UINTN CurrentTerminal;
815 CallbackData->BmmAskSaveOrNot =
TRUE;
819 CurrentTerminal = CallbackData->CurrentTerminal;
825 if (NewMenuEntry ==
NULL) {
830 ASSERT (OptionsOpCodeHandle !=
NULL);
835 CheckFlags |= EFI_IFR_OPTION_DEFAULT;
842 EFI_IFR_TYPE_NUM_SIZE_8,
849 (EFI_QUESTION_ID)(COM_BAUD_RATE_QUESTION_ID + CurrentTerminal),
850 VARSTORE_ID_BOOT_MAINT,
851 (UINT16)(COM_BAUD_RATE_VAR_OFFSET + CurrentTerminal),
854 EFI_IFR_FLAG_CALLBACK,
855 EFI_IFR_NUMERIC_SIZE_1,
862 ASSERT (OptionsOpCodeHandle !=
NULL);
868 CheckFlags |= EFI_IFR_OPTION_DEFAULT;
875 EFI_IFR_TYPE_NUM_SIZE_8,
882 (EFI_QUESTION_ID)(COM_DATA_RATE_QUESTION_ID + CurrentTerminal),
883 VARSTORE_ID_BOOT_MAINT,
884 (UINT16)(COM_DATA_RATE_VAR_OFFSET + CurrentTerminal),
887 EFI_IFR_FLAG_CALLBACK,
888 EFI_IFR_NUMERIC_SIZE_1,
895 ASSERT (OptionsOpCodeHandle !=
NULL);
900 CheckFlags |= EFI_IFR_OPTION_DEFAULT;
907 EFI_IFR_TYPE_NUM_SIZE_8,
914 (EFI_QUESTION_ID)(COM_PARITY_QUESTION_ID + CurrentTerminal),
915 VARSTORE_ID_BOOT_MAINT,
916 (UINT16)(COM_PARITY_VAR_OFFSET + CurrentTerminal),
919 EFI_IFR_FLAG_CALLBACK,
920 EFI_IFR_NUMERIC_SIZE_1,
927 ASSERT (OptionsOpCodeHandle !=
NULL);
932 CheckFlags |= EFI_IFR_OPTION_DEFAULT;
939 EFI_IFR_TYPE_NUM_SIZE_8,
946 (EFI_QUESTION_ID)(COM_STOP_BITS_QUESTION_ID + CurrentTerminal),
947 VARSTORE_ID_BOOT_MAINT,
948 (UINT16)(COM_STOP_BITS_VAR_OFFSET + CurrentTerminal),
951 EFI_IFR_FLAG_CALLBACK,
952 EFI_IFR_NUMERIC_SIZE_1,
959 ASSERT (OptionsOpCodeHandle !=
NULL);
964 CheckFlags |= EFI_IFR_OPTION_DEFAULT;
971 EFI_IFR_TYPE_NUM_SIZE_8,
978 (EFI_QUESTION_ID)(COM_TERMINAL_QUESTION_ID + CurrentTerminal),
979 VARSTORE_ID_BOOT_MAINT,
980 (UINT16)(COM_TERMINAL_VAR_OFFSET + CurrentTerminal),
983 EFI_IFR_FLAG_CALLBACK,
984 EFI_IFR_NUMERIC_SIZE_1,
991 ASSERT (OptionsOpCodeHandle !=
NULL);
996 CheckFlags |= EFI_IFR_OPTION_DEFAULT;
1000 OptionsOpCodeHandle,
1003 EFI_IFR_TYPE_NUM_SIZE_8,
1004 mFlowControlValue[Index]
1010 (EFI_QUESTION_ID)(COM_FLOWCONTROL_QUESTION_ID + CurrentTerminal),
1011 VARSTORE_ID_BOOT_MAINT,
1012 (UINT16)(COM_FLOWCONTROL_VAR_OFFSET + CurrentTerminal),
1015 EFI_IFR_FLAG_CALLBACK,
1016 EFI_IFR_NUMERIC_SIZE_1,
1017 OptionsOpCodeHandle,
1037 IN EFI_FORM_ID FormId,
1042 EFI_STRING_ID StringToken;
1046 if (DevicePath !=
NULL) {
1050 if (String ==
NULL) {
1052 ASSERT (String !=
NULL);
1058 if (FormId == FORM_BOOT_ADD_ID) {
1059 if (!CallbackData->BmmFakeNvData.BootOptionChanged) {
1060 ZeroMem (CallbackData->BmmFakeNvData.BootOptionalData, sizeof (CallbackData->BmmFakeNvData.BootOptionalData));
1061 ZeroMem (CallbackData->BmmFakeNvData.BootDescriptionData, sizeof (CallbackData->BmmFakeNvData.BootDescriptionData));
1062 ZeroMem (CallbackData->BmmOldFakeNVData.BootOptionalData, sizeof (CallbackData->BmmOldFakeNVData.BootOptionalData));
1063 ZeroMem (CallbackData->BmmOldFakeNVData.BootDescriptionData, sizeof (CallbackData->BmmOldFakeNVData.BootDescriptionData));
1065 }
else if (FormId == FORM_DRV_ADD_FILE_ID) {
1066 if (!CallbackData->BmmFakeNvData.DriverOptionChanged) {
1067 ZeroMem (CallbackData->BmmFakeNvData.DriverOptionalData, sizeof (CallbackData->BmmFakeNvData.DriverOptionalData));
1068 ZeroMem (CallbackData->BmmFakeNvData.DriverDescriptionData, sizeof (CallbackData->BmmFakeNvData.DriverDescriptionData));
1069 ZeroMem (CallbackData->BmmOldFakeNVData.DriverOptionalData, sizeof (CallbackData->BmmOldFakeNVData.DriverOptionalData));
1070 ZeroMem (CallbackData->BmmOldFakeNVData.DriverDescriptionData, sizeof (CallbackData->BmmOldFakeNVData.DriverDescriptionData));
1075 mStartLabel->
Number = FormId;
1086 CallbackData->BmmHiiHandle,
1110 case FORM_CON_IN_ID:
1114 case FORM_CON_OUT_ID:
1118 case FORM_CON_ERR_ID:
1122 case FORM_BOOT_CHG_ID:
1126 case FORM_DRV_CHG_ID:
1148 if ((NewPageId < FILE_OPTION_OFFSET) && (NewPageId >= HANDLE_OPTION_OFFSET)) {
1152 NewPageId = FORM_DRV_ADD_HANDLE_DESC_ID;
1153 }
else if ((NewPageId == KEY_VALUE_SAVE_AND_EXIT) || (NewPageId == KEY_VALUE_NO_SAVE_AND_EXIT)) {
1157 NewPageId = FORM_MAIN_ID;
1158 }
else if ((NewPageId >= TERMINAL_OPTION_OFFSET) && (NewPageId < CONSOLE_OPTION_OFFSET)) {
1159 NewPageId = FORM_CON_COM_SETUP_ID;
1162 if ((NewPageId > 0) && (NewPageId < MAXIMUM_FORM_ID)) {
1163 Private->BmmPreviousPageId = Private->BmmCurrentPageId;
1164 Private->BmmCurrentPageId = NewPageId;
RETURN_STATUS EFIAPI StrnCatS(IN OUT CHAR16 *Destination, IN UINTN DestMax, IN CONST CHAR16 *Source, IN UINTN Length)
UINTN EFIAPI StrLen(IN CONST CHAR16 *String)
INTN EFIAPI CompareMem(IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
VOID *EFIAPI ZeroMem(OUT VOID *Buffer, IN UINTN Length)
CHAR16 * ExtractFileNameFromDevicePath(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
BM_MENU_ENTRY * BOpt_GetMenuEntry(BM_MENU_OPTION *MenuOption, UINTN MenuNumber)
BM_MENU_OPTION DriverMenu
COM_ATTR BaudRateList[19]
VOID GetConsoleOutMode(IN BMM_CALLBACK_DATA *CallbackData)
UINT16 mFlowControlType[2]
BM_MENU_OPTION ConsoleErrMenu
BM_MENU_OPTION DriverOptionMenu
VOID GetBootOrder(IN BMM_CALLBACK_DATA *CallbackData)
BM_MENU_OPTION ConsoleOutMenu
BM_MENU_OPTION BootOptionMenu
VOID GetDriverOrder(IN BMM_CALLBACK_DATA *CallbackData)
BM_MENU_OPTION ConsoleInpMenu
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePool(IN VOID *Buffer)
UINT8 *EFIAPI HiiCreateSubTitleOpCode(IN VOID *OpCodeHandle, IN EFI_STRING_ID Prompt, IN EFI_STRING_ID Help, IN UINT8 Flags, IN UINT8 Scope)
UINT8 *EFIAPI HiiCreateGotoOpCode(IN VOID *OpCodeHandle, IN EFI_FORM_ID FormId, IN EFI_STRING_ID Prompt, IN EFI_STRING_ID Help, IN UINT8 QuestionFlags, IN EFI_QUESTION_ID QuestionId)
VOID *EFIAPI HiiAllocateOpCodeHandle(VOID)
VOID EFIAPI HiiFreeOpCodeHandle(VOID *OpCodeHandle)
UINT8 *EFIAPI HiiCreateGuidOpCode(IN VOID *OpCodeHandle, IN CONST EFI_GUID *Guid, IN CONST VOID *GuidOpCode OPTIONAL, IN UINTN OpCodeSize)
UINT8 *EFIAPI HiiCreateStringOpCode(IN VOID *OpCodeHandle, IN EFI_QUESTION_ID QuestionId, IN EFI_VARSTORE_ID VarStoreId, IN UINT16 VarOffset, IN EFI_STRING_ID Prompt, IN EFI_STRING_ID Help, IN UINT8 QuestionFlags, IN UINT8 StringFlags, IN UINT8 MinSize, IN UINT8 MaxSize, IN VOID *DefaultsOpCodeHandle OPTIONAL)
UINT8 *EFIAPI HiiCreateCheckBoxOpCode(IN VOID *OpCodeHandle, IN EFI_QUESTION_ID QuestionId, IN EFI_VARSTORE_ID VarStoreId, IN UINT16 VarOffset, IN EFI_STRING_ID Prompt, IN EFI_STRING_ID Help, IN UINT8 QuestionFlags, IN UINT8 CheckBoxFlags, IN VOID *DefaultsOpCodeHandle OPTIONAL)
EFI_STRING EFIAPI HiiGetString(IN EFI_HII_HANDLE HiiHandle, IN EFI_STRING_ID StringId, IN CONST CHAR8 *Language OPTIONAL)
UINT8 *EFIAPI HiiCreateOneOfOptionOpCode(IN VOID *OpCodeHandle, IN UINT16 StringId, IN UINT8 Flags, IN UINT8 Type, IN UINT64 Value)
EFI_STATUS EFIAPI HiiUpdateForm(IN EFI_HII_HANDLE HiiHandle, IN EFI_GUID *FormSetGuid OPTIONAL, IN EFI_FORM_ID FormId, IN VOID *StartOpCodeHandle, IN VOID *EndOpCodeHandle OPTIONAL)
UINT8 *EFIAPI HiiCreateOneOfOpCode(IN VOID *OpCodeHandle, IN EFI_QUESTION_ID QuestionId, IN EFI_VARSTORE_ID VarStoreId, IN UINT16 VarOffset, IN EFI_STRING_ID Prompt, IN EFI_STRING_ID Help, IN UINT8 QuestionFlags, IN UINT8 OneOfFlags, IN VOID *OptionsOpCodeHandle, IN VOID *DefaultsOpCodeHandle OPTIONAL)
EFI_STRING_ID EFIAPI HiiSetString(IN EFI_HII_HANDLE HiiHandle, IN EFI_STRING_ID StringId OPTIONAL, IN CONST EFI_STRING String, IN CONST CHAR8 *SupportedLanguages OPTIONAL)
UINT8 *EFIAPI HiiCreateActionOpCode(IN VOID *OpCodeHandle, IN EFI_QUESTION_ID QuestionId, IN EFI_STRING_ID Prompt, IN EFI_STRING_ID Help, IN UINT8 QuestionFlags, IN EFI_STRING_ID QuestionConfig)
UINT8 *EFIAPI HiiCreateOrderedListOpCode(IN VOID *OpCodeHandle, IN EFI_QUESTION_ID QuestionId, IN EFI_VARSTORE_ID VarStoreId, IN UINT16 VarOffset, IN EFI_STRING_ID Prompt, IN EFI_STRING_ID Help, IN UINT8 QuestionFlags, IN UINT8 OrderedListFlags, IN UINT8 DataType, IN UINT8 MaxContainers, IN VOID *OptionsOpCodeHandle, IN VOID *DefaultsOpCodeHandle OPTIONAL)
#define EFI_IFR_EXTEND_OP_LABEL
RETURN_STATUS EFIAPI UnicodeValueToStringS(IN OUT CHAR16 *Buffer, IN UINTN BufferSize, IN UINTN Flags, IN INT64 Value, IN UINTN Width)
#define ARRAY_SIZE(Array)
VOID UpdateConModePage(IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdatePageEnd(IN BMM_CALLBACK_DATA *CallbackData)
VOID CleanUpPage(IN UINT16 LabelId, IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdateConCOMPage(IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdatePageStart(IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdateOrderPage(IN UINT16 UpdatePageId, IN BM_MENU_OPTION *OptionMenu, IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdateDrvAddHandlePage(IN BMM_CALLBACK_DATA *CallbackData)
VOID RefreshUpdateData(VOID)
VOID UpdateBootDelPage(IN BMM_CALLBACK_DATA *CallbackData)
VOID CreateUpdateData(VOID)
VOID UpdateConsolePage(IN UINT16 UpdatePageId, IN BM_MENU_OPTION *ConsoleMenu, IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdatePageBody(IN UINT16 UpdatePageId, IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdateTerminalPage(IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdateDriverAddHandleDescPage(IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdatePageId(BMM_CALLBACK_DATA *Private, UINT16 NewPageId)
VOID UpdateDrvDelPage(IN BMM_CALLBACK_DATA *CallbackData)
VOID UpdateOptionPage(IN BMM_CALLBACK_DATA *CallbackData, IN EFI_FORM_ID FormId, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL * ConOut