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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2<br />

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

Operation<br />

Interprocessor Interrupts<br />

Four interprocessor interrupt (IPI) channels are provided for use by all<br />

processors. During system initialization the IPI vector/priority registers for<br />

each channel should be programmed to set the priority and vector returned<br />

for each IPI event. During system operation a processor may generate an<br />

IPI by writing a destination mask to one of the IPI dispatch registers. Note<br />

that each IPI dispatch register is shared by both processors. Each IPI<br />

dispatch register has two addresses but they are shared by both processors.<br />

That is there is a total of four IPI dispatch registers in the MPIC.<br />

The IPI mechanism may be used for self interrupts by programming the<br />

dispatch register with the bit mask for the originating processor.<br />

Dynamically Changing I/O Interrupt Configuration<br />

The interrupt controller provides a mechanism for safely changing the<br />

vector, priority, or destination of I/O interrupt sources. This is provided to<br />

support systems which allow dynamic configuration of I/O devices. In<br />

order to change the vector, priority, or destination of an active interrupt<br />

source, the following sequence should be performed:<br />

❏ Mask the source using the MASK bit in the vector/priority register.<br />

❏ Wait for the activity bit (ACT) for that source to be cleared.<br />

❏ Make the desired changes.<br />

❏ Unmask the source.<br />

This sequence ensures that the vector, priority, destination, and mask<br />

information remain valid until all processing of pending interrupts is<br />

complete.<br />

2-64 <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!