MdeModulePkg/PciHostBridgeDxe: Honor ResourceAssigned
Change PciHostBridgeDxe driver to not install the PciHostBridgeResourceAllocation protocol and let PciRootBridgeIo.Configuration() return the correct PCI resource assignment information when the ResourceAssigned is TRUE. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
@@ -90,15 +90,13 @@ typedef struct {
|
||||
Construct the Pci Root Bridge instance.
|
||||
|
||||
@param Bridge The root bridge instance.
|
||||
@param HostBridgeHandle Handle to the HostBridge.
|
||||
|
||||
@return The pointer to PCI_ROOT_BRIDGE_INSTANCE just created
|
||||
or NULL if creation fails.
|
||||
**/
|
||||
PCI_ROOT_BRIDGE_INSTANCE *
|
||||
CreateRootBridge (
|
||||
IN PCI_ROOT_BRIDGE *Bridge,
|
||||
IN EFI_HANDLE HostBridgeHandle
|
||||
IN PCI_ROOT_BRIDGE *Bridge
|
||||
);
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user