iPXE
Data Fields
_EFI_PCI_IO_PROTOCOL Struct Reference

The EFI_PCI_IO_PROTOCOL provides the basic Memory, I/O, PCI configuration, and DMA interfaces used to abstract accesses to PCI controllers. More...

#include <PciIo.h>

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
 The size, in bytes, of the ROM image.
VOIDRomImage
 A pointer to the in memory copy of the ROM image.

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.

Definition at line 525 of file PciIo.h.


Field Documentation

Definition at line 526 of file PciIo.h.

Definition at line 527 of file PciIo.h.

Definition at line 528 of file PciIo.h.

Referenced by nii_io().

Definition at line 529 of file PciIo.h.

Referenced by nii_io().

Definition at line 530 of file PciIo.h.

Definition at line 531 of file PciIo.h.

Definition at line 532 of file PciIo.h.

Referenced by nii_map().

Definition at line 533 of file PciIo.h.

Referenced by nii_pci_close(), and nii_unmap().

Definition at line 534 of file PciIo.h.

Definition at line 535 of file PciIo.h.

Definition at line 536 of file PciIo.h.

Definition at line 537 of file PciIo.h.

Definition at line 538 of file PciIo.h.

Definition at line 539 of file PciIo.h.

Referenced by nii_pci_open().

Definition at line 540 of file PciIo.h.

The size, in bytes, of the ROM image.

Definition at line 545 of file PciIo.h.

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.

Definition at line 555 of file PciIo.h.


The documentation for this struct was generated from the following file: