Use the "PAY_LOAD" StatusCode definitions defined in IntelFrameworkPkg.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2913 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c
index e7a05a2..84fd975 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c
@@ -1011,7 +1011,7 @@
   UINTN                                 DevIndex;

   UINTN                                 ResType;

   EFI_STATUS                            Status;

-  REPORT_STATUS_CODE_LIBRARY_RESOURCE_ALLOC_FAILURE_ERROR_DATA AllocFailExtendedData;

+  EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA_PAYLOAD AllocFailExtendedData;

 

   PciResNode = NULL;

   ZeroMem (RemovedPciDev, 5 * sizeof (PCI_IO_DEVICE *));

diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h
index a788916..f295e19 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h
@@ -66,28 +66,6 @@
 #include <IndustryStandard/Acpi.h>

 #include "ComponentName.h"

 

-///

-/// Device handle Extended Data. Used for many

-/// errors and progress codes to point to the device.

-///

-typedef struct {

-  EFI_HANDLE            Handle;

-} REPORT_STATUS_CODE_LIBRARY_DEVICE_HANDLE_EXTENDED_DATA;

-

-///

-/// Resource Allocation Failure Extended Error Data

-///

-typedef struct {

-  UINT32                             Bar;

-  UINT16                             DevicePathSize;

-  UINT16                             ReqResSize;

-  UINT16                             AllocResSize;

-  UINT8                              *DevicePath;

-  UINT8                              *ReqRes;

-  UINT8                              *AllocRes;

-} REPORT_STATUS_CODE_LIBRARY_RESOURCE_ALLOC_FAILURE_ERROR_DATA;

-

-

 //

 // Driver Produced Protocol Prototypes

 //