git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5292
6f19259b-4bc3-4df7-8a09-
765794883524
} else {\r
PciIoDevice->Decodes |= EFI_BRIDGE_IO16_DECODE_SUPPORTED;\r
}\r
- //\r
- // changed to support En1K for IO Bridge Device\r
- //\r
- if( (Value & 0x0c) == 0x0c ){\r
- PciIoDevice->Decodes |= EFI_BRIDGE_IOEN1K_DECODE_SUPPORTED;\r
- }\r
}\r
\r
Status = BarExisted (\r
Node->PciDev = PciDev;\r
Node->Length = Length;\r
Node->Alignment = Alignment;\r
- if(((ResType == PciBarTypeIo16) || (ResType == PciBarTypeIo32)) && ( Alignment == 0x0FFF))\r
- {\r
- if((PciDev->Decodes & EFI_BRIDGE_IOEN1K_DECODE_SUPPORTED) == EFI_BRIDGE_IOEN1K_DECODE_SUPPORTED)\r
- Node->Alignment = 0x3FF;\r
- else\r
- Node->Alignment = 0xFFF;\r
- }\r
Node->Bar = Bar;\r
Node->ResType = ResType;\r
Node->Reserved = FALSE;\r
#define EFI_BRIDGE_PMEM_MEM_COMBINE_SUPPORTED 0x0010\r
#define EFI_BRIDGE_MEM64_DECODE_SUPPORTED 0x0020\r
#define EFI_BRIDGE_MEM32_DECODE_SUPPORTED 0x0040\r
-#define EFI_BRIDGE_IOEN1K_DECODE_SUPPORTED 0x0080\r
\r
#define PCI_MAX_HOST_BRIDGE_NUM 0x0010\r
//\r