MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PciHostBridgeLib.h File Reference

Data Structures

struct  PCI_ROOT_BRIDGE_APERTURE
 
struct  PCI_ROOT_BRIDGE
 

Functions

PCI_ROOT_BRIDGE *EFIAPI PciHostBridgeGetRootBridges (UINTN *Count)
 
VOID EFIAPI PciHostBridgeFreeRootBridges (PCI_ROOT_BRIDGE *Bridges, UINTN Count)
 
VOID EFIAPI PciHostBridgeResourceConflict (EFI_HANDLE HostBridgeHandle, VOID *Configuration)
 

Detailed Description

PCI Host Bridge Library consumed by PciHostBridgeDxe driver returning the platform specific information about the PCI Host Bridge.

Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

VOID EFIAPI PciHostBridgeFreeRootBridges ( PCI_ROOT_BRIDGE Bridges,
UINTN  Count 
)

Free the root bridge instances array returned from PciHostBridgeGetRootBridges().

Parameters
BridgesThe root bridge instances array.
CountThe count of the array.
PCI_ROOT_BRIDGE* EFIAPI PciHostBridgeGetRootBridges ( UINTN Count)

Return all the root bridge instances in an array.

Parameters
CountReturn the count of root bridge instances.
Returns
All the root bridge instances in an array. The array should be passed into PciHostBridgeFreeRootBridges() when it's not used.
VOID EFIAPI PciHostBridgeResourceConflict ( EFI_HANDLE  HostBridgeHandle,
VOID Configuration 
)

Inform the platform that the resource conflict happens.

Parameters
HostBridgeHandleHandle of the Host Bridge.
ConfigurationPointer to PCI I/O and PCI memory resource descriptors. The Configuration contains the resources for all the root bridges. The resource for each root bridge is terminated with END descriptor and an additional END is appended indicating the end of the entire resources. The resource descriptor field values follow the description in EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL.SubmitResources().