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
This commit is contained in:
lgao4 2009-02-19 08:37:41 +00:00
parent d71479ca16
commit 7508355e68
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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
//