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:
@@ -803,14 +803,12 @@ CreateResourceMap (
|
||||
//
|
||||
// If the device has children, create a bridge resource node for this PPB
|
||||
// Note: For PPB, memory aperture is aligned with 1MB and IO aperture
|
||||
// is aligned with 4KB
|
||||
// This device is typically a bridge device like PPB and P2C
|
||||
// Note: 0x1000 aligned
|
||||
// is aligned with 4KB (smaller alignments may be supported).
|
||||
//
|
||||
IoBridge = CreateResourceNode (
|
||||
Temp,
|
||||
0,
|
||||
0xFFF,
|
||||
Temp->BridgeIoAlignment,
|
||||
PPB_IO_RANGE,
|
||||
PciBarTypeIo16,
|
||||
PciResUsageTypical
|
||||
|
Reference in New Issue
Block a user