summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 08:10:13 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 08:10:13 +0000
commitb1ef40155e611a662af7bd328c6eea214564c8c8 (patch)
tree22b368f75df72cabdf8b915d98254feea59f5023 /IntelFrameworkModulePkg/Bus
parent88303a7d0bfa60e11b3a355500c701b3dc7fb040 (diff)
downloadedk2-platforms-b1ef40155e611a662af7bd328c6eea214564c8c8.tar.xz
Add PciBus Module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2903 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciOptionRomSupport.c1
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h25
2 files changed, 25 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciOptionRomSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciOptionRomSupport.c
index f6b371f8a5..f6210dc56e 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciOptionRomSupport.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciOptionRomSupport.c
@@ -24,6 +24,7 @@ Revision History
#include "pcibus.h"
#include "PciResourceSupport.h"
+#include <IndustryStandard/Pci23.h>
//
// Min Max
//
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h
index b4d731ae27..956d9b2795 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/pcibus.h
@@ -60,10 +60,33 @@ Revision History
#include <Library/PcdLib.h>
#include <Library/PciIncompatibleDeviceSupportLib.h>
-#include <IndustryStandard/pci22.h>
+#include <IndustryStandard/Pci23.h>
+#include <IndustryStandard/PeImage.h>
#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
//