Core Complex Overview
PowerPC e500 Core Family Reference Manual, Rev. 1
Freescale Semiconductor
1-21
1.8.2
Interrupt Classes
All interrupts may be categorized as asynchronous/synchronous and critical/noncritical.
•
Asynchronous interrupts (such as machine check, critical input, and external interrupts) are
caused by events that are independent of instruction execution. For asynchronous
interrupts, the address reported in a save/restore register is the address of the instruction that
would have executed next had the asynchronous interrupt not occurred.
•
Synchronous interrupts are those that are caused directly by the execution or attempted
execution of instructions. Synchronous inputs may be either precise or imprecise, which are
described as follows:
— Synchronous precise interrupts are those that precisely indicate the address of the
instruction causing the exception that generated the interrupt or, in some cases, the
address of the immediately following instruction. The interrupt type and status bits
indicate which instruction is addressed in the appropriate save/restore register.
— Synchronous imprecise interrupts are those that may indicate the address of the
instruction causing the exception that generated the interrupt or some instruction after the
instruction causing the interrupt. If the interrupt was caused by either the context
synchronizing mechanism or the execution synchronizing mechanism, the address in the
appropriate save/restore register is the address of the interrupt forcing instruction. If the
interrupt was not caused by either of those mechanisms, the address in the save/restore
register is the last instruction to start execution and may not have completed. No
instruction following the instruction in the save/restore register has executed.
1.8.3
Interrupt Types
The e500 core processes all interrupts as either machine check, critical, or noncritical types.
Separate control and status register sets are provided for each interrupt type. The core handles
interrupts from these three types in the following priority order:
1. Machine check interrupt (highest priority)—The e500 defines a separate set of resources
for the machine check interrupt. They use the machine check save and restore registers
(MCSRR0/MCSRR1) to save state when they are taken, and they use the rfmci instruction
to restore state. These interrupts can be masked by the machine check enable bit,
MSR[ME].
2. Noncritical interrupts—First-level interrupts that allow the processor to change program
flow to handle conditions generated by external signals, errors, or unusual conditions
arising from program execution or from programmable timer-related events. These
interrupts are largely identical to those previously defined by the OEA portion of the
Power PC architecture. They use save and restore registers (SRR0/SRR1) to save state
when they are taken and they use the rfi instruction to restore state. Asynchronous
noncritical interrupts can be masked by the external interrupt enable bit, MSR[EE].
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...