TianoCore EDK2 master
Loading...
Searching...
No Matches
PciSegmentInfoLib.c File Reference
#include <Base.h>
#include <Library/PciSegmentInfoLib.h>
#include <Library/DebugLib.h>

Go to the source code of this file.

Functions

PCI_SEGMENT_INFO *EFIAPI GetPciSegmentInfo (UINTN *Count)
 

Detailed Description

Default PCI Segment Information Library that returns one segment whose segment base address equals to PcdPciExpressBaseAddress.

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

Definition in file PciSegmentInfoLib.c.

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.

Definition at line 25 of file PciSegmentInfoLib.c.