Data Structures | |
struct | _EFI_PEI_PCI_CFG_PPI |
Defines | |
#define | EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID |
#define | PEI_PCI_CFG_ADDRESS(bus, dev, func, reg) |
Typedefs | |
typedef struct _EFI_PEI_PCI_CFG_PPI | EFI_PEI_PCI_CFG_PPI |
typedef EFI_STATUS(EFIAPI * | EFI_PEI_PCI_CFG_PPI_IO )(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_PCI_CFG_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN OUT VOID *Buffer) |
typedef EFI_STATUS(EFIAPI * | EFI_PEI_PCI_CFG_PPI_RW )(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_PCI_CFG_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN UINTN SetBits, IN UINTN ClearBits) |
Variables | |
EFI_GUID | gEfiPciCfgPpiInServiceTableGuid |
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License that accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define EFI_PEI_PCI_CFG_PPI_INSTALLED_GUID |
Value:
{ \ 0xe1f2eba0, 0xf7b9, 0x4a26, {0x86, 0x20, 0x13, 0x12, 0x21, 0x64, 0x2a, 0x90 } \ }
#define PEI_PCI_CFG_ADDRESS | ( | bus, | |||
dev, | |||||
func, | |||||
reg | ) |
Value:
( \ (UINT64) ((((UINTN) bus) << 24) + (((UINTN) dev) << 16) + (((UINTN) func) << 8) + ((UINTN) reg)) \ ) & 0x00000000ffffffff
typedef struct _EFI_PEI_PCI_CFG_PPI EFI_PEI_PCI_CFG_PPI |
typedef EFI_STATUS(EFIAPI * EFI_PEI_PCI_CFG_PPI_IO)(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_PCI_CFG_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN OUT VOID *Buffer) |
PCI read and write operation.
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. | |
Address | The physical address of the access. | |
Buffer | A pointer to the buffer of data. |
EFI_SUCCESS | The function completed successfully. | |
EFI_NOT_YET_AVAILABLE | The service has not been installed. |
typedef EFI_STATUS(EFIAPI * EFI_PEI_PCI_CFG_PPI_RW)(IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_PCI_CFG_PPI *This, IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, IN UINT64 Address, IN UINTN SetBits, IN UINTN ClearBits) |
PCI read-modify-write operation.
PeiServices | An indirect pointer to the PEI Services Table published by the PEI Foundation. | |
This | The pointer to local data for the interface. | |
Width | The width of the access. Enumerated in bytes. | |
Address | The physical address of the access. | |
SetBits | Value of the bits to set. | |
ClearBits | Value of the bits to clear. |
EFI_SUCCESS | The function completed successfully. |
EFI_GUID gEfiPciCfgPpiInServiceTableGuid |