Interprocessor interrupts, Dynamically changing i/o interrupt configuration – Motorola MVME2300 Series User Manual

Page 159

Advertising
background image

Raven Interrupt Controller

http://www.motorola.com/computer/literature

2-89

2

Interprocessor Interrupts

Four interprocessor interrupt (IPI) channels are provided for use by all
processors. During system initialization, the IPI vector/priority registers
for each channel should be programmed to set the priority and vector
returned for each IPI event. During system operation a processor may
generate an IPI by writing a destination mask to one of the IPI dispatch
registers.

Note that each IPI dispatch register is shared by both processors. Each IPI
dispatch register has two addresses but they are shared by both processors.
That is, there is a total of four IPI dispatch registers in the RavenMPIC.

The IPI mechanism may be used for self-interrupts by programming the
dispatch register with the bit mask for the originating processor.

Dynamically Changing I/O Interrupt Configuration

The interrupt controller provides a mechanism for safely changing the
vector, priority, or destination of I/O interrupt sources. This is provided to
support systems which allow dynamic configuration of I/O devices. In
order to change the vector, priority, or destination of an active interrupt
source, the following sequence should be performed:

1. Mask the source using the MASK bit in the vector/priority register.

2. Wait for the activity bit (ACT) for that source to be cleared.

3. Make the desired changes.

4. Unmask the source.

This sequence ensures that the vector, priority, destination, and mask
information remain valid until all processing of pending interrupts is
complete.

Advertising