TianoCore EDK2 master
|
#include "PciSegmentLibCommon.h"
Go to the source code of this file.
Functions | |
UINTN | PciSegmentLibVirtualAddress (IN UINTN Address) |
RETURN_STATUS EFIAPI | PciSegmentRegisterForRuntimeAccess (IN UINTN Address) |
Instance of Base PCI Segment Library that support multi-segment PCI configuration access.
PCI Segment Library that consumes segment information provided by PciSegmentInfoLib to support multi-segment PCI configuration access through enhanced configuration access mechanism.
Copyright (c) 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BasePciSegmentLib.c.
Return the virtual address for the physical address.
Address | The physical address. |
The | virtual address. |
Definition at line 22 of file BasePciSegmentLib.c.
Register a PCI device so PCI configuration registers may be accessed after SetVirtualAddressMap().
If any reserved bits in Address are set, then ASSERT().
Address | The address that encodes the PCI Bus, Device, Function and Register. |
RETURN_SUCCESS | The PCI device was registered for runtime access. |
RETURN_UNSUPPORTED | An attempt was made to call this function after ExitBootServices(). |
RETURN_UNSUPPORTED | The resources required to access the PCI device at runtime could not be mapped. |
RETURN_OUT_OF_RESOURCES | There are not enough resources available to complete the registration. |
Definition at line 49 of file BasePciSegmentLib.c.