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
This commit is contained in:
@@ -422,7 +422,7 @@ ReportStatusCodeWithExtendedData (
|
||||
is responsible for allocating a buffer large enough for the standard header and
|
||||
the extended data passed into this function. The standard header is filled in
|
||||
with a GUID specified by ExtendedDataGuid. If ExtendedDataGuid is NULL, then a
|
||||
GUID of gEfiStatusCodeSpecificDatauid is used. The status code is reported with
|
||||
GUID of gEfiStatusCodeSpecificDataGuid is used. The status code is reported with
|
||||
an instance specified by Instance and a caller ID specified by CallerId. If
|
||||
CallerId is NULL, then a caller ID of gEfiCallerIdGuid is used.
|
||||
|
||||
|
@@ -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
|
||||
);
|
||||
|
@@ -53,4 +53,6 @@
|
||||
|
||||
[Guids.common]
|
||||
gEfiStatusCodeDataTypeDebugGuid
|
||||
gEfiStatusCodeDataTypeAssertGuid
|
||||
|
||||
|
Reference in New Issue
Block a user