17.01.2013 Views

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

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.

106 Chapter 6.<br />

Software Interrupts<br />

Timer Interrupt<br />

Nonmaskable Interrupt<br />

SysAD(4:0)<br />

Interrupt Value<br />

4<br />

3 2 1 0<br />

19 18 17 16<br />

Figure 6-5 Hardware Interrupts<br />

The two software interrupts are accessible as bits 9:8 of the Cause register, as shown<br />

in Figure 6-5. An MTC0 instruction is used to write these bits.<br />

The timer interrupt is accessible as bit 15 of the Cause register, IP[7], as shown in<br />

Figure 6-5. This bit is set when one of the following occurs:<br />

• the Count register is equal to the Compare register<br />

• either one of the two performance counters overflows<br />

A nonmaskable interrupt is accessible to an external agent as the SysNMI* signal.<br />

To post a nonmaskable interrupt, an external agent asserts SysNMI* for at least<br />

one SysClk cycle.<br />

The processor recognizes the nonmaskable interrupt on the first SysClk cycle that<br />

SysNMI* is asserted. After the nonmaskable interrupt is serviced, an external<br />

agent may post another nonmaskable interrupt by first negating SysNMI* for at<br />

least one SysClk cycle, and reasserting SysNMI* for at least one SysClk cycle.<br />

Version 2.0 of January 29, 1997 <strong>MIPS</strong> <strong>R10000</strong> <strong>Microprocessor</strong> <strong>User's</strong> <strong>Manual</strong><br />

20<br />

SysAD(20:16)<br />

Write Enables<br />

8<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

IP[0]<br />

IP[1]<br />

IP[2]<br />

IP[3]<br />

IP[4]<br />

IP[5]<br />

IP[6]<br />

IP[7]<br />

Interrupt register<br />

Cause(15:08)<br />

Software<br />

Interrupts<br />

Hardware<br />

Interrupts<br />

Timer<br />

Interrupt

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

Saved successfully!

Ooh no, something went wrong!