Register Model
e200z3 Power Architecture Core Reference Manual, Rev. 2
2-20
Freescale Semiconductor
2.8.1.1
Save/Restore Register 0 (SRR0)
During a non-critical interrupt, SRR0, shown in
, holds the address of the instruction where the
interrupted process should resume. The instruction is interrupt-specific, although for instruction-caused
exceptions, the address of the instruction typically causes the interrupt. When rfi executes, instruction
execution continues at the address in SRR0. SRR0 and SRR1 are not affected by rfci or rfdi.
2.8.1.2
Save/Restore Register 1 (SRR1)
SRR1, shown in
, is used to save and restore machine state during non-critical interrupts. When
a non-critical interrupt is taken, MSR contents are placed into SRR1. When rfi executes, the contents of
SRR1 are restored into MSR. SRR1 bits that correspond to reserved MSR bits are also reserved. (See
Section 2.4.1, “Machine State Register (MSR)”
.) SRR0 and SRR1 are not affected by rfci or rfdi.
Reserved MSR bits can be altered by rfi, rfci, or rfdi.
2.8.1.3
Critical Save/Restore Register 0 (CSRR0)
CSRR0 is used to save and restore machine state during critical interrupts in the same way SRR0 is used
for non-critical interrupts: to hold the address of the instruction to which control is passed at the end of the
interrupt handler. CSRR0, shown in
, holds the address of the instruction where the interrupted
process should resume. The instruction is interrupt-specific; for details, see
When rfci executes, instruction execution continues at the address in CSRR0. CSRR0 and
CSRR1 are not affected by rfi or rfdi.
32
63
Field
Next instruction address
Reset
Undefined on
m_por assertion, unchanged on p_reset_b
assertion
R/W
R/W
SPR
SPR 26
Figure 2-11. Save/Restore Register 0 (SRR0)
32
63
Field
MSR state information
Reset
Undefined on
m_por assertion, unchanged on p_reset_b
assertion
R/W
R/W
SPR
SPR 27
Figure 2-12. Save/Restore Register 1 (SRR1)
Содержание 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 ...