TianoCore EDK2 master
Loading...
Searching...
No Matches
PciHostBridgeLib.h File Reference

Go to the source code of this file.

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

Definition in file PciHostBridgeLib.h.

Function Documentation

◆ PciHostBridgeFreeRootBridges()

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.

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

Parameters
Theroot bridge instances array.
Thecount of the array.

Definition at line 45 of file PciHostBridgeLibNull.c.

◆ PciHostBridgeGetRootBridges()

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.

Definition at line 29 of file PciHostBridgeLibNull.c.

◆ PciHostBridgeResourceConflict()

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().

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().

Definition at line 69 of file PciHostBridgeLibNull.c.