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

Go to the source code of this file.

Data Structures

struct  PCI_SEGMENT_INFO
 

Functions

PCI_SEGMENT_INFO *EFIAPI GetPciSegmentInfo (UINTN *Count)
 

Detailed Description

Provides services to return segment information on a platform with multiple PCI segments.

This library is consumed by PciSegmentLib to support multiple segment PCI configuration access.

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

Definition in file PciSegmentInfoLib.h.

Function Documentation

◆ GetPciSegmentInfo()

PCI_SEGMENT_INFO *EFIAPI GetPciSegmentInfo ( UINTN Count)

Return an array of PCI_SEGMENT_INFO holding the segment information.

Note: The returned array/buffer is owned by callee.

Parameters
CountReturn the count of segments.
Return values
Acallee owned array holding the segment information.

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 25 of file PciSegmentInfoLib.c.