From 1d6d9e7ef0c3c79191f10826f984c11c3f902207 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 29 Jun 2007 09:23:03 +0000 Subject: [PATCH] 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 --- .../Bus/Pci/PciBus/Dxe/PciEnumerator.c | 2 +- .../Bus/Pci/PciBus/Dxe/pcibus.h | 22 ------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c index e7a05a2ec9..84fd9753c6 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciEnumerator.c @@ -1011,7 +1011,7 @@ Returns: 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 a788916cbd..f295e1946e 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h @@ -66,28 +66,6 @@ Revision History #include #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 // -- 2.39.2