beautypg.com

Intel Extensible Firmware Interface User Manual

Page 475

background image

Protocols

— PCI Bus Support

Version 1.10

12/01/02

12-57

Io.Read

Allows BAR relative reads to PCI I/O space. See the

Io.Read()

function description.

Io.Write

Allows BAR relative writes to PCI I/O space. See the

Io.Write()

function description.

Pci.Read

Allows PCI controller relative reads to PCI configuration space.
See the

Pci.Read()

function description.

Pci.Write

Allows PCI controller relative writes to PCI configuration space.
See the

Pci.Write()

function description.

CopyMem

Allows one region of PCI memory space to be copied to another
region of PCI memory space. See the

CopyMem()

function

description.

Map

Provides the PCI controller–specific address needed to access
system memory for DMA. See the

Map()

function description.

Unmap

Releases any resources allocated by

Map()

. See the

Unmap()

function description.

AllocateBuffer

Allocates pages that are suitable for a common buffer mapping.
See the

AllocateBuffer()

function description.

FreeBuffer

Frees pages that were allocated with

AllocateBuffer()

. See

the

FreeBuffer()

function description.

Flush

Flushes all PCI posted write transactions to system memory. See
the

Flush()

function description.

GetLocation

Retrieves this PCI controller’s current PCI bus number, device
number, and function number. See the

GetLocation()

function description.

Attributes

Performs an operation on the attributes that this PCI controller
supports. The operations include getting the set of supported
attributes, retrieving the current attributes, setting the current
attributes, enabling attributes, and disabling attributes. See the

Attributes()

function description.

GetBarAttributes

Gets the attributes that this PCI controller supports setting on a
BAR using

SetBarAttributes()

, and retrieves the list of

resource descriptors for a BAR. See the

GetBarAttributes()

function description.

SetBarAttributes

Sets the attributes for a range of a BAR on a PCI controller. See
the

SetBarAttributes()

function description.

RomSize

The size, in bytes, of the ROM image.