mirror of https://github.com/acidanthera/audk.git
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:
parent
d71479ca16
commit
7508355e68
|
@ -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
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue