From 8191cd5efd9209a8dd8c9e60f042ed9e67f9bb32 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 18 Dec 2008 07:41:58 +0000 Subject: Enhance PciCfg2 driver to handle unaligned Pci access according to PI spec. Remove the undefined logic to process gEfiStatusCodeSpecificDataGuid status code data. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7078 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/PeiDxeDebugLibReportStatusCode/DebugLib.c | 5 ++++- .../PeiDxeDebugLibReportStatusCode.inf | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode') diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c index 497d534571..4c62def93a 100644 --- a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c +++ b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c @@ -163,9 +163,12 @@ DebugAssert ( // AsciiStrCpy (Temp + AsciiStrLen (FileName) + 1, Description); - REPORT_STATUS_CODE_WITH_EXTENDED_DATA ( + REPORT_STATUS_CODE_EX ( (EFI_ERROR_CODE | EFI_ERROR_UNRECOVERED), (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_EC_ILLEGAL_SOFTWARE_STATE), + 0, + NULL, + &gEfiStatusCodeDataTypeAssertGuid, AssertData, TotalSize ); diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf index 07b4750af2..689095917a 100644 --- a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf +++ b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf @@ -53,4 +53,6 @@ [Guids.common] gEfiStatusCodeDataTypeDebugGuid + gEfiStatusCodeDataTypeAssertGuid + \ No newline at end of file -- cgit v1.2.3