Use the "PAY_LOAD" StatusCode definitions defined in IntelFrameworkPkg.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 29 Jun 2007 09:23:03 +0000 (09:23 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 29 Jun 2007 09:23:03 +0000 (09:23 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2913 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c
IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h

index e7a05a2..84fd975 100644 (file)
@@ -1011,7 +1011,7 @@ Returns:
   UINTN                                 DevIndex;\r
   UINTN                                 ResType;\r
   EFI_STATUS                            Status;\r
-  REPORT_STATUS_CODE_LIBRARY_RESOURCE_ALLOC_FAILURE_ERROR_DATA AllocFailExtendedData;\r
+  EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA_PAYLOAD AllocFailExtendedData;\r
 \r
   PciResNode = NULL;\r
   ZeroMem (RemovedPciDev, 5 * sizeof (PCI_IO_DEVICE *));\r
index a788916..f295e19 100644 (file)
@@ -66,28 +66,6 @@ Revision History
 #include <IndustryStandard/Acpi.h>\r
 #include "ComponentName.h"\r
 \r
-///\r
-/// Device handle Extended Data. Used for many\r
-/// errors and progress codes to point to the device.\r
-///\r
-typedef struct {\r
-  EFI_HANDLE            Handle;\r
-} REPORT_STATUS_CODE_LIBRARY_DEVICE_HANDLE_EXTENDED_DATA;\r
-\r
-///\r
-/// Resource Allocation Failure Extended Error Data\r
-///\r
-typedef struct {\r
-  UINT32                             Bar;\r
-  UINT16                             DevicePathSize;\r
-  UINT16                             ReqResSize;\r
-  UINT16                             AllocResSize;\r
-  UINT8                              *DevicePath;\r
-  UINT8                              *ReqRes;\r
-  UINT8                              *AllocRes;\r
-} REPORT_STATUS_CODE_LIBRARY_RESOURCE_ALLOC_FAILURE_ERROR_DATA;\r
-\r
-\r
 //\r
 // Driver Produced Protocol Prototypes\r
 //\r