beautypg.com

Related definitions – Intel Extensible Firmware Interface User Manual

Page 476

background image

Extensible Firmware Interface Specification

12-58

12/01/02

Version 1.10

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.

Related Definitions

//*******************************************************
// EFI_PCI_IO_PROTOCOL_WIDTH
//*******************************************************
typedef enum {
EfiPciIoWidthUint8,
EfiPciIoWidthUint16,
EfiPciIoWidthUint32,
EfiPciIoWidthUint64,
EfiPciIoWidthFifoUint8,
EfiPciIoWidthFifoUint16,
EfiPciIoWidthFifoUint32,
EfiPciIoWidthFifoUint64,
EfiPciIoWidthFillUint8,
EfiPciIoWidthFillUint16,
EfiPciIoWidthFillUint32,
EfiPciIoWidthFillUint64,
EfiPciIoWidthMaximum
} EFI_PCI_IO_PROTOCOL_WIDTH;

#define EFI_PCI_IO_PASS_THROUGH_BAR 0xff

//*******************************************************
// EFI_PCI_IO_PROTOCOL_POLL_IO_MEM
//*******************************************************
typedef
EFI_STATUS
(EFIAPI *EFI_PCI_IO_PROTOCOL_POLL_IO_MEM) (
IN struct EFI_PCI_IO_PROTOCOL

*This,

IN EFI_PCI_IO_PROTOCOL_WIDTH

Width,

IN UINT8

BarIndex,

IN UINT64

Offset,

IN UINT64

Mask,

IN UINT64

Value,

IN UINT64

Delay,

OUT UINT64

*Result

);