TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Guid/AcpiBoardInfoGuid.h>
#include <Library/HobLib.h>
#include <Library/PciSegmentInfoLib.h>
#include <Library/DebugLib.h>
#include <UniversalPayload/PciRootBridges.h>
#include <Library/PciLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/BaseMemoryLib.h>
#include <Guid/PciSegmentInfoGuid.h>
Go to the source code of this file.
Functions | |
VOID | RetrieveMultiSegmentInfoFromHob (IN UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGES *PciRootBridgeInfo, IN UPL_PCI_SEGMENT_INFO_HOB *UplSegmentInfo, OUT UINTN *NumberOfRootBridges) |
VOID | RetrieveSegmentInfoFromHob (OUT UINTN *NumberOfRootBridges) |
UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGES * | Get_RBInfo (VOID) |
UPL_PCI_SEGMENT_INFO_HOB * | Get_UPLSegInfo (VOID) |
PCI_SEGMENT_INFO *EFIAPI | GetPciSegmentInfo (UINTN *Count) |
PCI Segment Information Library that returns one segment whose segment base address is retrieved from AcpiBoardInfo HOB.
Copyright (c) 2020, Intel Corporation. All rights reserved.
Copyright (c) 2024, Rivos Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PciSegmentInfoLibAcpiBoardInfo.c.
UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGES * Get_RBInfo | ( | VOID | ) |
Return info for all root bridges
Definition at line 113 of file PciSegmentInfoLibAcpiBoardInfo.c.
UPL_PCI_SEGMENT_INFO_HOB * Get_UPLSegInfo | ( | VOID | ) |
Return info for all root bridge segments
Definition at line 155 of file PciSegmentInfoLibAcpiBoardInfo.c.
PCI_SEGMENT_INFO *EFIAPI GetPciSegmentInfo | ( | UINTN * | Count | ) |
Return all the root bridge instances in an array.
Count | Return the count of root bridge instances. |
Definition at line 202 of file PciSegmentInfoLibAcpiBoardInfo.c.
VOID RetrieveMultiSegmentInfoFromHob | ( | IN UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGES * | PciRootBridgeInfo, |
IN UPL_PCI_SEGMENT_INFO_HOB * | UplSegmentInfo, | ||
OUT UINTN * | NumberOfRootBridges | ||
) |
Find segment info from all root bridges
[in] | PciRootBridgeInfo | Pointer of Universal Payload PCI Root Bridge Info Hob |
[in] | UplSegmentInfo | Pointer of Universal UPL Segment Info |
[out] | NumberOfRootBridges | Number of root bridges detected |
Definition at line 38 of file PciSegmentInfoLibAcpiBoardInfo.c.
Find segment info from all root bridges for legacy systems
[in] | PciRootBridgeInfo | Pointer of Universal Payload PCI Root Bridge Info Hob |
[out] | NumberOfRootBridges | Number of root bridges detected |
Definition at line 83 of file PciSegmentInfoLibAcpiBoardInfo.c.