Critical Save/Restore Register 0 (Csrr0); Critical Save/Restore Register 1 (Csrr1); Figure 6-3. Save/Restore Register 1 (Srr1); Figure 6-4. Critical Save/Restore Register 0 (Csrr0) - IBM PPC440X5 CPU Core User Manual

Cpu core
Table of Contents

Advertisement

User's Manual
PPC440x5 CPU Core
0

Figure 6-3. Save/Restore Register 1 (SRR1)

Copy of the MSR at the time of a non-critical inter-
0:31
rupt.

6.4.4 Critical Save/Restore Register 0 (CSRR0)

CSRR0 is an SPR that is used to save machine state on critical interrupts, and to restore machine state when
an
rfci is executed. When a critical interrupt occurs, CSRR0 is set to an address associated with the process
which was executing at the time. When
CSRR0.
In general, CSRR0 contains the address of the instruction that caused the critical interrupt, or the address of
the instruction to return to after a critical interrupt is serviced. See the individual descriptions under Interrupt
Definitions on page 175 for an explanation of the precise address recorded in CSRR0 for each critical inter-
rupt type.
CSRR0 can be written from a GPR using
0

Figure 6-4. Critical Save/Restore Register 0 (CSRR0)

0:29
Return address for critical interrupts
30:31
Reserved

6.4.5 Critical Save/Restore Register 1 (CSRR1)

CSRR1 is an SPR that is used to save machine state on critical interrupts, and to restore machine state when
an
rfci is executed. When a critical interrupt is taken, the contents of the MSR (prior to the MSR being
cleared by the interrupt) are placed into CSRR1. When
contents of CSRR1.
Bits of CSRR1 that correspond to reserved bits in the MSR are also reserved.
Page 168 of 589
EE
FP
WE
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
CE
ME
PR
rfci is executed, instruction execution returns to the address in
mtspr , and can be read into a GPR using mfspr .
rfci is executed, the MSR is restored with the
IS
DE
FE0
FE1
DWE
Preliminary
31
DS
29 30 31
intrupts.fm.
September 12, 2002

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents