beautypg.com

2 pci root bridge i/o protocol, Efi_pci_root_bridge_io_protocol, Pci root bridge i/oprotocol – Intel Extensible Firmware Interface User Manual

Page 426: May a

background image

Extensible Firmware Interface Specification

12-8

12/01/02

Version 1.10

12.2 PCI Root Bridge I/O Protocol

This section provides detailed information on the PCI Root Bridge I/O Protocol and its functions.

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL

Summary

Provides the basic Memory, I/O, PCI configuration, and DMA interfaces that are used to abstract

accesses to PCI controllers behind a PCI Root Bridge Controller.

GUID

#define EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GUID \

{0x2F707EBB,0x4A1A,0x11d4,0x9A,0x38,0x00,0x90,0x27,0x3F,0xC1,0x4D}

Protocol Interface Structure

typedef struct _EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL {
EFI_HANDLE

ParentHandle;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_POLL_IO_MEM

PollMem;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_POLL_IO_MEM

PollIo;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_ACCESS

Mem;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_ACCESS

Io;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_ACCESS

Pci;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_COPY_MEM

CopyMem;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_MAP

Map;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_UNMAP

Unmap;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_ALLOCATE_BUFFER

AllocateBuffer;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FREE_BUFFER

FreeBuffer;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FLUSH

Flush;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GET_ATTRIBUTES

GetAttributes;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_SET_ATTRIBUTES

SetAttributes;

EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_CONFIGURATION

Configuration;

UINT32

SegmentNumber;

} EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL;

Parameters

ParentHandle

The

EFI_HANDLE

of the PCI Host Bridge of which this PCI Root

Bridge is a member.

PollMem

Polls an address in memory mapped I/O space until an exit
condition is met, or a timeout occurs. See the

PollMem()

function description.

PollIo

Polls an address in I/O space until an exit condition is met, or a
timeout occurs. See the

PollIo()

function description.