Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 255

Powerquicc family
Table of Contents

Advertisement

8.7.3
Page Size
The page size is determined by a combination of two fields: the page-size (PS) field in the level-one
descriptor and the small-page-size (SPS) field in the level-two descriptor.
fields select the page size.
Level 1 [PS]
00
00
01
01
10
11
11
8.8
Programming Model
All MMU programming model registers are supervisor-level SPRs that are accessed by using mtspr and
mfspr. Attempting to access these SPRs in user mode causes a program exception. The tlbie and tlbia
instructions can be used to invalidate TLBs. MMU registers should be accessed when both MSR[IR] = 0
and MSR[DR] = 0. No similar restriction exists for tlbie and tlbia.
Table 8-6
lists the MPC885-specific MMU registers and indicates the sections that describe them. These
SPRs should be accessed when both instruction and data address translation is disabled.
Register
MI_CTR
IMMU control register
MD_CTR
DMMU control register
MI_EPN
IMMU effective number register
MD_EPN
DMMU effective number register
MI_TWC
IMMU tablewalk control register
MD_TWC
DMMU tablewalk control register
MI_RPN
IMMU real (physical) page number port
MD_RPN
DMMU real (physical) page number register
Freescale Semiconductor
Table 8-5. Page Size Selection
Level 2 [SPS]
0
1
0
1
x
0
1
Table 8-6. MPC885-Specific MMU SPRs
Name
Control Registers
TLB Source Registers
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Memory Management Unit
Table 8-5
shows how the two
Page Size
4 Kbyte
16 Kbyte
Reserved
512 Kbyte
Reserved
8 Mbyte
SPR
Section
784
8.8.1
792
8.8.2
787
8.8.3
795
789
8.8.4
797
8.8.5
790
8.8.6
798
8.8.7
8-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents