Update PCI bus driver to support non-standard PCI to PCI bridge I/O window alignment, such as 2K/1K/512 byte. Feature PCD PcdPciBridgeIoAlignmentProbe is introduced to turn on/off this feature.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9598 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -236,10 +236,14 @@ PciHostBridgeResourceAllocator (
|
||||
// enumerator. Several resource tree was created
|
||||
//
|
||||
|
||||
//
|
||||
// If non-stardard PCI Bridge I/O window alignment is supported,
|
||||
// set I/O aligment to minimum possible alignment for root bridge.
|
||||
//
|
||||
IoBridge = CreateResourceNode (
|
||||
RootBridgeDev,
|
||||
0,
|
||||
0xFFF,
|
||||
FeaturePcdGet (PcdPciBridgeIoAlignmentProbe) ? 0x1FF: 0xFFF,
|
||||
0,
|
||||
PciBarTypeIo16,
|
||||
PciResUsageTypical
|
||||
|
Reference in New Issue
Block a user