EasyManua.ls Logo

AMCC PPC405 - 2.3 Registers

Default Icon
450 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
32 AMCC Proprietary
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
2.2.1 Storage Attributes
The PowerPC Architecture defines storage attributes that control data and instruction accesses. Storage attributes
are provided to control cache write-through policy (the W storage attribute), cachability (the I storage attribute),
memory coherency in multiprocessor environments (the M storage attribute), and guarding against speculative
memory accesses (the G storage attribute). The PowerPC Embedded Environment defines additional storage
attributes for storage compression (the U0 storage attribute) and byte ordering (the E storage attribute).
The PPC405 provides two control mechanisms for the W, I, U0, G, and E attributes. Because the PPC405 does not
provide hardware support for multiprocessor environments, the M storage attribute, when present, has no effect.
When the PPC405 operates in virtual mode (address translation is enabled), each storage attribute is controlled by
the W, I, U0, G, and E fields in the translation lookaside buffer (TLB) entry for each memory page. The size of
memory pages, and hence the size of storage attribute control regions, is variable. Multiple sizes can be in effect
simultaneously on different pages.
When the PPC405 operates in real mode (address translation is disabled), storage attribute control registers
control the corresponding storage attributes. These registers are:
Data Cache Write-through Register (DCWR)
Data Cache Cachability Register (DCCR)
Instruction Cache Cachability Register (ICCR)
Storage Guarded Register (SGR)
Storage Little-Endian Register (SLER)
Storage User-defined 0 Register (SU0R)
Each storage attribute control register contains 32 bits; each bit controls one of thirty-two 128MB storage attribute
control regions. Bit 0 of each register controls the lowest-order region, with ascending bits controlling ascending
regions in memory. The storage attributes in each storage attribute region are set independently of each other and
of the storage attributes for other regions.
2.3 Registers
All PPC405 registers are identified in this section. Some of the frequently-used registers are described in detail.
Other registers are covered in their respective topic chapters (for example, the cache registers are described in
Cache Operations on page 69). All processor registers are summarized in Register Summary on page 353.
The registers are grouped into categories: General Purpose Registers (GPRs), Special Purpose Registers (SPRs),
Time Base Registers (TBRs), the Machine State Register (MSR), the Condition Register (CR), Device Control
Registers (DCRs), and memory-mapped I/O registers (MMIO). Different instructions are used to access each
category of registers.
Processor registers are covered in this book. The DCRs ands MMIO registrers are covered in the user’s manual for
the chip in which this processor is instantiated.
For all registers with fields marked as reserved, the reserved fields should be written as 0 and read as undefined.
That is, when writing to a register with a reserved field, write a 0 to the reserved field. When reading from a register
with a reserved field, ignore that field.

Table of Contents