EasyManua.ls Logo

AMCC PPC405 - 5.3.2 TLB Fields

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...
AMCC Proprietary 93
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
The virtual address space is extended by adding an 8-bit translation ID (TID) loaded from the Process ID (PID)
register during a TLB access. The PID identifies one of 255 unique software entities, usually used as a process or
thread ID. TLBHI[TID] is compared to the PID during a TLB look-up.
Tag and data entries are written by copying data from GPRs and the PID, using the tlbwe instruction. Tag and data
entries are read by copying data to GPRs and the PID, using the tlbre instruction. Software can search for specific
entries using the tlbsx instruction.
5.3.2 TLB Fields
Each TLB entry describes a page that is enabled for translation and access controls. Fields in the TLB entry fall
into four categories:
Information required to identify the page to the hardware translation mechanism
Control information specifying the translation
Access control information
Storage attribute control information
5.3.2.1 Page Identification Fields
When an EA is presented to the MMU for processing, the MMU applies several selection criteria to each TLB entry
to select the appropriate entry. Although it is possible to place multiple entries into the TLB to match a specific EA
and PID, this is considered a programming error, and the result of a TLB lookup for such an EA is undefined. The
following fields in the TLB entry identify the page. Except as noted, all comparisons must succeed to validate an
entry for subsequent use.
EPN (effective page number, 22 bits)
Compared to some number of the EA
0:21
bits presented to the MMU. The number of bits corresponds to the page
size.
The exact comparison depends on the page size, as shown in Table 5-1.
Figure 5-2. TLB Entries
0212224
ZSELRPN
TLBHI
0
SIZE
EPN
V
27 29 3 031
WI MGEX WR
TID
(Tag entry)
21 2522 35
28
24
23 28
PID
024
ID
31
(Process ID)
23
TLBLO (Data entry)
26 27
E
U0

Table of Contents