
Interrupts and Exceptions
e200z3 Power Architecture Core Reference Manual, Rev. 2
4-34
Freescale Semiconductor
•
All previous instructions have completed to a point where they can no longer cause an exception.
This includes post-execute type exceptions.
•
Previous instructions complete execution in the context (privilege and protection) under which
they were issued.
•
The rfi copies SRR1 bits back into the MSR.
•
The rfci copies CSRR1 bits back into the MSR.
•
The rfdi copies DSRR1 bits back into the MSR.
•
Instructions fetched after this instruction execute in the context established by this instruction.
•
Program execution resumes at the instruction indicated by SRR0 for rfi, CSRR0 for rfci or DSRR0
for rfdi.
Note that the rfi may be subject to a return type debug exception and that rfci may be subject to a critical
return type debug exception. For a complete description of context synchronization, refer to the EREF.
4.9
Process Switching
The following instructions are useful for restoring proper context during process switching:
•
msync orders the effects of data memory instruction execution. All instructions previously
initiated appear to have completed before the msync instruction completes, and no subsequent
instructions appear to be initiated until the msync instruction completes.
•
isync waits for all previous instructions to complete and then discards any fetched instructions,
causing subsequent instructions to be fetched (or refetched) from memory and to execute in the
context (privilege, translation, and protection) established by the previous instructions.
•
stwcx. clears any outstanding reservations, ensuring that a load and reserve instruction in an old
process is not paired with a store conditional instruction in a new one.
Содержание e200z3
Страница 1: ...e200z3 Power Architecture Core Reference Manual Supports e200z3 e200z335 e200z3coreRM Rev 2 06 2008 ...
Страница 32: ...e200z3 Power Architecture Core Reference Manual Rev 2 xii Freescale Semiconductor ...
Страница 50: ...Register Model e200z3 Power Architecture Core Reference Manual Rev 2 2 2 Freescale Semiconductor ...
Страница 238: ...Memory Management Unit e200z3 Power Architecture Core Reference Manual Rev 2 5 16 Freescale Semiconductor ...
Страница 332: ...Power Management e200z3 Power Architecture Core Reference Manual Rev 2 8 4 Freescale Semiconductor ...
Страница 424: ...Revision History e200z3 Power Architecture Core Reference Manual Rev 2 A 2 Freescale Semiconductor ...