Access Control Fields; Storage Attribute Fields - IBM PowerPC 405GP User Manual

Embedded processor
Table of Contents

Advertisement

6.3.2.3
Access Control Fields
Several access controls are available in the UTLB entries.
ZSEL (zone select, 4 bits)
Selects one of 16 zone fields (ZO-Z15) from the Zone Protection Register (ZPR). The ZPR field bits
can modify the access protection specified by the TLB_entry[V, EX, WR] bits of a TLB entry. Zone
protection is described in detail in "Zone Protection" on page 6-13.
EX (execute enable, 1 bit)
When set (TLBLO[EX] = 1), enables instruction execution at addresses within a page. ZPR settings
can override TLBLO[EX]; see "Zone Protection" on page 6-13, for more information.
WR (write-enable 1 bit)
When set (TLBLO[WR] = 1), enables store operations to addresses in a page. ZPR settings can
override TLBLO[WR]; see "Zone Protection" on page 6-13.
6.3.2.4
Storage Attribute Fields
TLB entries contain bits that control and provide information about the storage control attributes. Four
of the attributes (W, I, M, and G) are defined in the PowerPC Architecture. The E storage attribute is
defined in the IBM PowerPC Embedded Environment. The UO attribute is implementation-specific.
For the PPC405GP, UO controls the Code Pack instruction decompression function.
W (write-through,1 bit)
When set (TLBLO[W] = 1), stores are specified as write-through. If data in the referenced page is in
the data cache, a store updates the cached copy of the data and the external memory location.
Contrast this with a write-back strategy, which updates memory only when a cache line is flushed.
In real mode, the Data Cache Write-through Register (DCWR) controls the write strategy.
Note that the PowerPC Architecture does not support memory models in which write':'through is
enabled and caching is inhibited. It is considered a programming error to use these memory models;
the results are undefined.
I (caching inhibited,1 bit)
When set (TLBLO[I] = 1), a memory access is completed by using the location in main memory,
bypassing the cache arrays. During the access, the accessed location is not put into the cache arrays.
In real mode, the Instruction Cache Cachability Register (ICCR) and Data Cache Cachability Register
(DCCR) control cachability. In these registers, the setting of the bit is reversed; 1 indicates that a
storage control region is cachable, rather than caching inhibited.
Note that the PowerPC Architecture does not support memory models in which write-through is
enabled and caching is inhibited. It is considered a programming error to use these memory models;
the results are undefined.
It is considered a programming error if the target location of a load/store, dcbz, or fetch access to
caching inhibited storage is in the cache; the results are undefined. It is
not
considered a
programming error for the target locations of other cache control instructions to be in the cache when
caching is inhibited.
Preliminary
Memory Management
6-5

Advertisement

Table of Contents
loading

Table of Contents