X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiDxeDebugLibReportStatusCode%2FDebugLib.c;h=8c8bbc27198999a4ca360f482568ea9a83740e92;hp=b06a75660f490457ecd64f6f55928296f34ca052;hb=add13dc21720eff1a37fdea34c0fef190e2ad37d;hpb=c16ade35ca4b293255fea78aaf33783501f90f9f diff --git a/MdePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c b/MdePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c index b06a75660f..8c8bbc2719 100644 --- a/MdePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c +++ b/MdePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c @@ -75,12 +75,12 @@ DebugPrint ( VA_END (Marker); AsciiStrCpy ((CHAR8 *)ArgumentPointer, Format); - // - // - // - REPORT_STATUS_CODE_WITH_EXTENDED_DATA ( + REPORT_STATUS_CODE_EX ( EFI_DEBUG_CODE, (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_DC_UNSPECIFIED), + 0, + NULL, + &gEfiStatusCodeDataTypeDebugGuid, DebugInfo, TotalSize ); @@ -142,7 +142,7 @@ DebugAssert ( // // Copy Ascii Description // - AsciiStrCpy (Temp + AsciiStrLen(FileName) + 1, Description); + AsciiStrCpy (Temp + AsciiStrLen (FileName) + 1, Description); REPORT_STATUS_CODE_WITH_EXTENDED_DATA ( (EFI_ERROR_CODE | EFI_ERROR_UNRECOVERED),