17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2<br />

Hawk PCI Host Bridge & Multi-Processor Interrupt Controller<br />

:<br />

Generating PCI Memory and I/O Cycles<br />

Each programmable slave may be configured to generate PCI I/O or<br />

memory accesses through the MEM and IOM fields in its XSATTx<br />

register as shown below.<br />

MEM IOM PCI Cycle Type<br />

1 x Memory<br />

0 0 Contiguous I/O<br />

0 1 Spread I/O<br />

If the MEM bit is set, the PHB performs Memory addressing on the PCI<br />

bus. The PHB takes the PPC bus address, applies the offset specified in the<br />

XSOFFx register, and maps the result directly to the PCI bus.<br />

The IBM CHRP specification describes two approaches for handling PCI<br />

I/O addressing: contiguous or spread address modes. When the MEM bit<br />

is cleared, the IOM bit is used to select between these two modes whenever<br />

a PCI I/O cycle is to be performed.<br />

The PHB performs contiguous I/O addressing when the MEM bit is clear<br />

and the IOM bit is clear. The PHB takes the PPC address, apply the offset<br />

specified in the XSOFFx register, and map the result directly to PCI.<br />

The PHB performs spread I/O addressing when the MEM bit is clear and<br />

the IOM bit is set. The PHB takes the PPC address, applies the offset<br />

specified in the MSOFFx register, and maps the result to PCI as shown in<br />

Figure 2-6.<br />

2-30 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!