summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-19 08:37:41 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-19 08:37:41 +0000
commit7508355e68808d55ce2a7aefdeb53ec8715c7306 (patch)
tree9dd6522b8c1355c3955478651168c93afccb6bdf /IntelFrameworkModulePkg
parentd71479ca169ce62f616c5dffebddb88e38b24a77 (diff)
downloadedk2-7508355e68808d55ce2a7aefdeb53ec8715c7306.zip
edk2-7508355e68808d55ce2a7aefdeb53ec8715c7306.tar.gz
edk2-7508355e68808d55ce2a7aefdeb53ec8715c7306.tar.bz2
Using EFI_RESOUCE status defined in framework Pci Host bridge specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7544 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h6
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h
index 2c09061..9dfdbe6 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h
@@ -113,12 +113,6 @@ typedef struct {
#define EFI_BRIDGE_MEM32_DECODE_SUPPORTED 0x0040
#define PCI_MAX_HOST_BRIDGE_NUM 0x0010
-//
-// Define resource status constant
-//
-#define EFI_RESOURCE_NONEXISTENT 0xFFFFFFFFFFFFFFFFULL
-#define EFI_RESOURCE_LESS 0xFFFFFFFFFFFFFFFEULL
-#define EFI_RESOURCE_SATISFIED 0x0000000000000000ULL
//
// Define option for attribute
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c
index 092c3b6..2265039 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c
@@ -926,7 +926,7 @@ PciHostBridgeAdjustAllocation (
continue;
}
- if (ResStatus[ResType] == EFI_RESOURCE_NONEXISTENT) {
+ if (ResStatus[ResType] == EFI_RESOURCE_NOT_SATISFIED) {
//
// Hostbridge hasn't this resource type
//