MdePkg[all]
1.08
|
Data Structures | |
struct | EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS |
struct | _EFI_PEI_PCI_CFG2_PPI |
Macros | |
#define | EFI_PEI_PCI_CFG2_PPI_GUID { 0x57a449a, 0x1fdc, 0x4c06, { 0xbf, 0xc9, 0xf5, 0x3f, 0x6a, 0x99, 0xbb, 0x92 } } |
#define | EFI_PEI_PCI_CFG_ADDRESS(bus, dev, func, reg) |
Typedefs | |
typedef struct _EFI_PEI_PCI_CFG2_PPI | EFI_PEI_PCI_CFG2_PPI |
typedef EFI_STATUS(EFIAPI * | EFI_PEI_PCI_CFG2_PPI_IO )(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN OUT VOID *Buffer) |
typedef EFI_STATUS(EFIAPI * | EFI_PEI_PCI_CFG2_PPI_RW )(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN VOID *SetBits, IN VOID *ClearBits) |
Enumerations | |
enum | EFI_PEI_PCI_CFG_PPI_WIDTH { EfiPeiPciCfgWidthUint8 = 0, EfiPeiPciCfgWidthUint16 = 1, EfiPeiPciCfgWidthUint32 = 2, EfiPeiPciCfgWidthUint64 = 3, EfiPeiPciCfgWidthMaximum } |
Variables | |
EFI_GUID | gEfiPciCfg2PpiGuid |
This file declares PciCfg2 PPI.
This ppi Provides platform or chipset-specific access to the PCI configuration space for a specific PCI segment.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define EFI_PEI_PCI_CFG2_PPI_GUID { 0x57a449a, 0x1fdc, 0x4c06, { 0xbf, 0xc9, 0xf5, 0x3f, 0x6a, 0x99, 0xbb, 0x92 } } |
#define EFI_PEI_PCI_CFG_ADDRESS | ( | bus, | |
dev, | |||
func, | |||
reg | |||
) |
typedef struct _EFI_PEI_PCI_CFG2_PPI EFI_PEI_PCI_CFG2_PPI |
typedef EFI_STATUS(EFIAPI * EFI_PEI_PCI_CFG2_PPI_IO)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN OUT VOID *Buffer) |
Reads from or write to a given location in the PCI configuration space.
PeiServices | An indirect pointer to the PEI Services Table published by the PEI Foundation. |
This | Pointer to local data for the interface. |
Width | The width of the access. Enumerated in bytes. See EFI_PEI_PCI_CFG_PPI_WIDTH above. |
Address | The physical address of the access. The format of the address is described by EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS. |
Buffer | A pointer to the buffer of data.. |
EFI_SUCCESS | The function completed successfully. |
EFI_DEVICE_ERROR | There was a problem with the transaction. |
EFI_DEVICE_NOT_READY | The device is not capable of supporting the operation at this time. |
typedef EFI_STATUS(EFIAPI * EFI_PEI_PCI_CFG2_PPI_RW)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN VOID *SetBits, IN VOID *ClearBits) |
Performs a read-modify-write operation on the contents from a given location in the PCI configuration space.
PeiServices | An indirect pointer to the PEI Services Table published by the PEI Foundation. |
This | Pointer to local data for the interface. |
Width | The width of the access. Enumerated in bytes. Type EFI_PEI_PCI_CFG_PPI_WIDTH is defined in Read(). |
Address | The physical address of the access. |
SetBits | Points to value to bitwise-OR with the read configuration value. The size of the value is determined by Width. |
ClearBits | Points to the value to negate and bitwise-AND with the read configuration value. The size of the value is determined by Width. |
EFI_SUCCESS | The function completed successfully. |
EFI_DEVICE_ERROR | There was a problem with the transaction. |
EFI_DEVICE_NOT_READY | The device is not capable of supporting the operation at this time. |
EFI_GUID gEfiPciCfg2PpiGuid |