diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c index 957baf860f..60c41bec27 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c @@ -733,6 +733,7 @@ BootMaintExtractConfig ( *Progress = Request + StrLen (Request); } + DEBUG ((EFI_D_INFO, "%a complete: %r\n", __FUNCTION__, Status)); return Status; } @@ -1059,6 +1060,7 @@ BootMaintRouteConfig ( // CopyMem (OldBmmData, NewBmmData, sizeof (BMM_FAKE_NV_DATA)); + DEBUG ((EFI_D_INFO, "%a complete: %r\n", __FUNCTION__, Status)); return EFI_SUCCESS; Exit: @@ -1119,6 +1121,8 @@ BootMaintCallback ( Private = BMM_CALLBACK_DATA_FROM_THIS (This); if (Action == EFI_BROWSER_ACTION_FORM_OPEN) { + DEBUG ((EFI_D_INFO, "EFI_BROWSER_ACTION_FORM_OPEN: 0x%0X\n", QuestionId)); + if (QuestionId == KEY_VALUE_TRIGGER_FORM_OPEN_ACTION) { if (!mFirstEnterBMMForm) { // @@ -1148,6 +1152,8 @@ BootMaintCallback ( HiiGetBrowserData (&mBootMaintGuid, mBootMaintStorageName, sizeof (BMM_FAKE_NV_DATA), (UINT8 *)CurrentFakeNVMap); if (Action == EFI_BROWSER_ACTION_CHANGING) { + DEBUG ((EFI_D_INFO, "EFI_BROWSER_ACTION_CHANGING: 0x%0X\n", QuestionId)); + if (Value == NULL) { return EFI_INVALID_PARAMETER; } @@ -1233,6 +1239,8 @@ BootMaintCallback ( ChooseFile (NULL, L".efi", BootFromFile, &File); } } else if (Action == EFI_BROWSER_ACTION_CHANGED) { + DEBUG ((EFI_D_INFO, "EFI_BROWSER_ACTION_CHANGED: 0x%0X\n", QuestionId)); + if ((Value == NULL) || (ActionRequest == NULL)) { return EFI_INVALID_PARAMETER; } @@ -1338,6 +1346,7 @@ BootMaintCallback ( // HiiSetBrowserData (&mBootMaintGuid, mBootMaintStorageName, sizeof (BMM_FAKE_NV_DATA), (UINT8 *)CurrentFakeNVMap, NULL); + DEBUG ((EFI_D_INFO, "%a complete: %r\n", __FUNCTION__, EFI_SUCCESS)); return EFI_SUCCESS; } diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.c index 82a0ed66a7..e56eace5e1 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.c @@ -633,6 +633,7 @@ Var_UpdateBootOrder ( BOpt_FreeMenu (&BootOptionMenu); BOpt_GetBootOptions (CallbackData); + DEBUG ((EFI_D_INFO, "Updated BootOrder: %r\n", Status)); return Status; }