Merged PR 2772: Remove assertion caused by failed boot attempt

Remove assertion caused by failed boot attempt in:

File: _MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c_

```
  REPORT_STATUS_CODE_EX (
    (EFI_ERROR_CODE | EFI_ERROR_MINOR),
    (EFI_SOFTWARE_DXE_BS_DRIVER | ErrorCode),
    0,
    NULL,
    NULL,
    &ExtendedData.DataHeader + 1,
    sizeof (ExtendedData) - sizeof (ExtendedData.DataHeader)
    );
```
This commit is contained in:
Kun Qin 2020-09-09 22:29:56 +00:00
Родитель ada299c8c9
Коммит 430df6f9b0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -97,9 +97,9 @@ ReportHwErrRecRouter (
if (Data->HeaderSize != sizeof(EFI_STATUS_CODE_DATA) ||
Data->Size < sizeof(MS_WHEA_RSC_INTERNAL_ERROR_DATA) ||
CompareMem(&Data->Type, &gMsWheaRSCDataTypeGuid, sizeof(EFI_GUID)) != 0) {
// Bail logging telemetry, this is not for us...
DEBUG ((DEBUG_ERROR, "%a - Unrecognized data provided! Bailing!\n", __FUNCTION__));
Status = EFI_UNSUPPORTED;
ASSERT_EFI_ERROR(Status);
goto Cleanup;
}
}