From: lgao4 Date: Thu, 19 Feb 2009 08:37:41 +0000 (+0000) Subject: Using EFI_RESOUCE status defined in framework Pci Host bridge specification. X-Git-Tag: edk2-stable201903~18706 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=7508355e68808d55ce2a7aefdeb53ec8715c7306 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 --- diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBus.h index 2c09061695..9dfdbe62d7 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 092c3b6901..226503970c 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 //