Sun Microsystems UltraSPARC-I User Manual page 267

Table of Contents

Advertisement

raSPARC User's Manual
Note: Exiting RED_state by writing 0 to PSTATE.RED in the delay slot of a
JMPL instruction is not recommended. A noncacheable instruction prefetch may
be made to the JMPL target, which may be in a cacheable memory area. This may
result in a bus error on some systems, which causes an
trap. The trap can be masked by setting the NCEEN bit in the ESTATE_ERR_EN
register to zero, but this will mask all non-correctable error checking. Exiting
RED_state with DONE or RETRY avoids this problem.
UltraSPARC provides Interrupt and MMU global register sets in addition to the
two global register sets specified by SPARC-V9. The currently active set of global
registers is specified by the AG, IG and MG bits according to Table 14-13,
"PSTATE Global Register Selection Encoding," on page 252.
Note: The IG and MG fields are saved on the trap stack along with the rest of
the PSTATE register.
Table 14-13
PSTATE Global Register Selection Encoding
AG
IG
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
When an
interrupt_vector
terrupt Global registers by setting IG and clearing AG and MG. When a
fast_instruction_access_MMU_miss
fast_data_access_protection
is taken, UltraSPARC selects the MMU Global Registers by setting MG and clear-
ing AG and IG. When any other type of trap occurs, UltraSPARC selects the Al-
ternate Global Registers by setting AG and clearing IG and MG. Note that global
register selection is the same for traps that enter RED_state.
Executing a DONE or RETRY instruction restores the previous {AG, IG, MG} state
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
before the trap is taken. These three bits can also be set or cleared by writing to
MG
Globals in Use
0
Normal
1
MMU
0
Interrupt
1
Reserved
0
Alternate
1
Reserved
0
Reserved
1
Reserved
trap (trap type=60
16
,
fast_data_access_MMU_miss
,
data_access_exception
instruction_access_error
) is taken, UltraSPARC selects the In-
,
, or
instruction_access_exception
trap

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UltraSPARC-I and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ultrasparc-ii

Table of Contents