5-28
MPC8240 Integrated Processor User’s Manual
Exception Model
Although exceptions have other characteristics as well, such as whether they are maskable
or nonmaskable, the distinctions shown in Table 5-7 define categories of exceptions that the
processor core handles uniquely. Note that Table 5-7 includes no synchronous imprecise
instructions.
The processor core’s exceptions, and conditions that cause them, are listed in Table 5-8.
Table 5-7. Exception Classifications for the Processor Core
Synchronous/Asynchronous
Precise/Imprecise
Exception Type
Asynchronous, nonmaskable
Imprecise
Machine check
System reset
Asynchronous, maskable
Precise
External interrupt
Decrementer
System management interrupt
Synchronous
Precise
Instruction-caused exceptions
Table 5-8. Exceptions and Conditions
Exception
Type
Vector Offset
(hex)
Causing Conditions
Reserved 00000
—
System reset
00100
A system reset is caused by the assertion of HRST_CPU, SRESET or sreset
(asserted by the EPIC unit).
Machine
check
00200
A machine check exception is caused by the assertion of the NMI input signal or
the occurrence of internal errors as described in Chapter 13, “Error Handling.” This
exception occurs when a machine check condition is detected, the error is enabled,
HID0[EMCP] is set, PICR1[MCP_EN] is set, and MSR[ME] is set. When one of
these errors occurs, the MPC8240 takes the exception and asserts the MCP output
signal.
DSI
00300
The cause of a DSI exception can be determined by the bit settings in the DSISR,
listed as follows:
1 Set if the translation of an attempted access is not found in the primary hash
table entry group (HTEG), in the rehashed secondary HTEG, or in the range of
a DBAT register; otherwise cleared.
4
Set if a memory access is not permitted by the page or DBAT protection
mechanism; otherwise cleared.
5
Set by an eciwx or ecowx instruction if the access is to an address that is
marked as write-through or execution of a load/store instruction that accesses a
direct-store segment.
6
Set for a store operation and cleared for a load operation.
11 Set if eciwx or ecowx is used and EAR[E] is cleared.
ISI
00400
An ISI exception is caused when an instruction fetch cannot be performed for any
of the following reasons:
• •The effective (logical) address cannot be translated. That is, there is a page
fault for this portion of the translation, so an ISI exception must be taken to load
the PTE (and possibly the page) into memory.
• •The fetch access is to a direct-store segment (indicated by SRR1[3] set).
• •The fetch access violates memory protection (indicated by SRR1[4] set). If the
key bits (Ks and Kp) in the segment register and the PP bits in the PTE are set
to prohibit read access, instructions cannot be fetched from this location.
External
interrupt
00500
An external interrupt is caused when MSR[EE] = 1 and the internal int signal is
asserted by the EPIC interrupt module to the processor core.
Summary of Contents for MPC8240
Page 1: ...MPC8240UM D Rev 1 1 2001 MPC8240 Integrated Processor User s Manual ...
Page 38: ...xviii MPC8240 Integrated Processor User s Manual TABLES Table Number Title Page Number ...
Page 48: ...xlviii MPC8240 Integrated Processor User s Manual Acronyms and Abbreviations ...
Page 312: ...6 94 MPC8240 Integrated Processor User s Manual ROM Flash Interface Operation ...
Page 348: ...7 36 MPC8240 Integrated Processor User s Manual PCI Host and Agent Modes ...
Page 372: ...8 24 MPC8240 Integrated Processor User s Manual DMA Register Descriptions ...
Page 394: ...9 22 MPC8240 Integrated Processor User s Manual I2O Interface ...
Page 412: ...10 18 MPC8240 Integrated Processor User s Manual Programming Guidelines ...
Page 454: ...12 14 MPC8240 Integrated Processor User s Manual Internal Arbitration ...
Page 466: ...13 12 MPC8240 Integrated Processor User s Manual Exception Latencies ...
Page 516: ...16 14 Watchpoint Trigger Applications ...
Page 538: ...B 16 MPC8240 Integrated Processor User s Manual Setting the Endian Mode of Operation ...
Page 546: ...C 8 MPC8240 Integrated Processor User s Manual ...
Page 640: ...INDEX Index 16 MPC8240 Integrated Processor User s Manual ...