PowerPC e500 Core Family Reference Manual, Rev. 1
12-26
Freescale Semiconductor
Memory Management Units
12.7.1 e500 MAS Registers
The core complex uses seven special purpose registers (MAS0, MAS1, MAS2, MAS3, MAS4,
MAS6, and MAS7) to facilitate reading, writing, and searching the TLBs. The MAS registers can
be read or written using the mfspr and mtspr instructions. The core complex does not implement
the MAS5 register, because the tlbsx instruction on the e500 only searches based on a single PID
value (the value of MAS6[SPID0]).
For the core complex, TLB0 is 2 (e500v1) or 4 (e500v2)-way set associative, so bits 45–51 of the
effective address are used to index into TLB0 when it is accessed. For TLB0, ESEL is defined as
a 2-bit field (bits 46–47) that identifies which of the indexed entries is to be referenced by the TLB
operation (ESEL selects the way). For TLB1, ESEL selects one of the 16 entries in the array.
Figure 12-11
describes the format of MAS0 on the e500 core complex.
Table 12-8
shows the core complex MAS0 bit definitions.
MMU assist registers (MAS0–MAS4, MAS6 (and MAS7 for
the e500v2))
2.12.5/2-39
12.7.1/12-26
Data exception address register (DEAR)
2.7.1.3/2-18
—
SPR 624
Access: Supervisor-only
32
34
35
36
43 44
47 48
61 62
63
R
—
TLBSEL
—
ESEL
—
NV
W
Reset
All zeros
Figure 12-11. MAS Register 0 (MAS0)
Table 12-8. MAS0 Field Descriptions—MMU Read/Write and Replacement Control
Bits
Name
Descriptions
32–34
—
Reserved, should be cleared.
35
TLBSEL Selects TLB for access
0 TLB0
1 TLB1
36–43
—
Reserved, should be cleared.
Table 12-7. Registers Used for MMU Functions (continued)
Registers
Comprehensive
Reference
(Section/Page)
Additional
e500-Only Reference
(Section/Page)
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...