TianoCore EDK2 master
Loading...
Searching...
No Matches
BasePciSegmentLib.c
Go to the documentation of this file.
1
12#include "PciSegmentLibCommon.h"
13
23 IN UINTN Address
24 )
25{
26 return Address;
27}
28
47RETURN_STATUS
48EFIAPI
50 IN UINTN Address
51 )
52{
53 //
54 // Use PciSegmentLibGetEcamAddress() to validate the Address.
55 //
57 UINTN Count;
58 PCI_SEGMENT_INFO *SegmentInfo;
59
60 SegmentInfo = GetPciSegmentInfo (&Count);
61 PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count);
62 );
63 return RETURN_SUCCESS;
64}
UINT64 UINTN
UINTN PciSegmentLibVirtualAddress(IN UINTN Address)
RETURN_STATUS EFIAPI PciSegmentRegisterForRuntimeAccess(IN UINTN Address)
#define RETURN_SUCCESS
Definition: Base.h:1066
#define IN
Definition: Base.h:279
#define DEBUG_CODE(Expression)
Definition: DebugLib.h:590
PCI_SEGMENT_INFO *EFIAPI GetPciSegmentInfo(UINTN *Count)
UINTN PciSegmentLibGetEcamAddress(IN UINT64 Address, IN CONST PCI_SEGMENT_INFO *SegmentInfo, IN UINTN Count)