Using EFI_RESOUCE status defined in framework Pci Host bridge specification.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 19 Feb 2009 08:37:41 +0000 (08:37 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 19 Feb 2009 08:37:41 +0000 (08:37 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7544 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h
IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c

index 2c0906169565168dc032fe288433c3fd2656b14a..9dfdbe62d77ea664f03062c6ce11add937e80391 100644 (file)
@@ -113,12 +113,6 @@ typedef struct {
 #define EFI_BRIDGE_MEM32_DECODE_SUPPORTED     0x0040\r
 \r
 #define PCI_MAX_HOST_BRIDGE_NUM               0x0010\r
-//\r
-// Define resource status constant\r
-//\r
-#define EFI_RESOURCE_NONEXISTENT  0xFFFFFFFFFFFFFFFFULL\r
-#define EFI_RESOURCE_LESS         0xFFFFFFFFFFFFFFFEULL\r
-#define EFI_RESOURCE_SATISFIED    0x0000000000000000ULL\r
 \r
 //\r
 // Define option for attribute\r
index 092c3b69015882f343f99b033e92d535f96a1be1..226503970cb88dd7556167561cd0a00fcd33f194 100644 (file)
@@ -926,7 +926,7 @@ PciHostBridgeAdjustAllocation (
       continue;\r
     }\r
 \r
-    if (ResStatus[ResType] == EFI_RESOURCE_NONEXISTENT) {\r
+    if (ResStatus[ResType] == EFI_RESOURCE_NOT_SATISFIED) {\r
       //\r
       // Hostbridge hasn't this resource type\r
       //\r