MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_EFI_PCI_IO_PROTOCOL Struct Reference

Data Fields

EFI_PCI_IO_PROTOCOL_POLL_IO_MEM PollMem
 
EFI_PCI_IO_PROTOCOL_POLL_IO_MEM PollIo
 
EFI_PCI_IO_PROTOCOL_ACCESS Mem
 
EFI_PCI_IO_PROTOCOL_ACCESS Io
 
EFI_PCI_IO_PROTOCOL_CONFIG_ACCESS Pci
 
EFI_PCI_IO_PROTOCOL_COPY_MEM CopyMem
 
EFI_PCI_IO_PROTOCOL_MAP Map
 
EFI_PCI_IO_PROTOCOL_UNMAP Unmap
 
EFI_PCI_IO_PROTOCOL_ALLOCATE_BUFFER AllocateBuffer
 
EFI_PCI_IO_PROTOCOL_FREE_BUFFER FreeBuffer
 
EFI_PCI_IO_PROTOCOL_FLUSH Flush
 
EFI_PCI_IO_PROTOCOL_GET_LOCATION GetLocation
 
EFI_PCI_IO_PROTOCOL_ATTRIBUTES Attributes
 
EFI_PCI_IO_PROTOCOL_GET_BAR_ATTRIBUTES GetBarAttributes
 
EFI_PCI_IO_PROTOCOL_SET_BAR_ATTRIBUTES SetBarAttributes
 
UINT64 RomSize
 
VOIDRomImage
 

Detailed Description

The EFI_PCI_IO_PROTOCOL provides the basic Memory, I/O, PCI configuration, and DMA interfaces used to abstract accesses to PCI controllers. There is one EFI_PCI_IO_PROTOCOL instance for each PCI controller on a PCI bus. A device driver that wishes to manage a PCI controller in a system will have to retrieve the EFI_PCI_IO_PROTOCOL instance that is associated with the PCI controller.

Field Documentation

EFI_PCI_IO_PROTOCOL_ALLOCATE_BUFFER _EFI_PCI_IO_PROTOCOL::AllocateBuffer
EFI_PCI_IO_PROTOCOL_ATTRIBUTES _EFI_PCI_IO_PROTOCOL::Attributes
EFI_PCI_IO_PROTOCOL_COPY_MEM _EFI_PCI_IO_PROTOCOL::CopyMem
EFI_PCI_IO_PROTOCOL_FLUSH _EFI_PCI_IO_PROTOCOL::Flush
EFI_PCI_IO_PROTOCOL_FREE_BUFFER _EFI_PCI_IO_PROTOCOL::FreeBuffer
EFI_PCI_IO_PROTOCOL_GET_BAR_ATTRIBUTES _EFI_PCI_IO_PROTOCOL::GetBarAttributes
EFI_PCI_IO_PROTOCOL_GET_LOCATION _EFI_PCI_IO_PROTOCOL::GetLocation
EFI_PCI_IO_PROTOCOL_ACCESS _EFI_PCI_IO_PROTOCOL::Io
EFI_PCI_IO_PROTOCOL_MAP _EFI_PCI_IO_PROTOCOL::Map
EFI_PCI_IO_PROTOCOL_ACCESS _EFI_PCI_IO_PROTOCOL::Mem
EFI_PCI_IO_PROTOCOL_CONFIG_ACCESS _EFI_PCI_IO_PROTOCOL::Pci
EFI_PCI_IO_PROTOCOL_POLL_IO_MEM _EFI_PCI_IO_PROTOCOL::PollIo
EFI_PCI_IO_PROTOCOL_POLL_IO_MEM _EFI_PCI_IO_PROTOCOL::PollMem
VOID* _EFI_PCI_IO_PROTOCOL::RomImage

A pointer to the in memory copy of the ROM image. The PCI Bus Driver is responsible for allocating memory for the ROM image, and copying the contents of the ROM to memory. The contents of this buffer are either from the PCI option ROM that can be accessed through the ROM BAR of the PCI controller, or it is from a platform-specific location. The Attributes() function can be used to determine from which of these two sources the RomImage buffer was initialized.

UINT64 _EFI_PCI_IO_PROTOCOL::RomSize

The size, in bytes, of the ROM image.

EFI_PCI_IO_PROTOCOL_SET_BAR_ATTRIBUTES _EFI_PCI_IO_PROTOCOL::SetBarAttributes
EFI_PCI_IO_PROTOCOL_UNMAP _EFI_PCI_IO_PROTOCOL::Unmap