forked from tianocore/edk2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UefiPayloadPkg: Fix PciHostBridgeLib
The library had lots of assumptions about the coreboot resource allocator that were not verified at runtime and are no longer true. To support TBT devices the coreboot resource allocator opens large PCI bridge MMIO windows above 4GiB. In addition to that PCI BARs that are too big to fit under 4GiB will be placed above 4GiB as well. Remove all of the assumption and implement the same logic as OvmfPkg's ScanForRootBridges. Now that both PciHostBridgeLib implementations are indentical it will be easier to move to a shared codebase. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
- Loading branch information
1 parent
103fa64
commit 070ce93
Showing
1 changed file
with
18 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters