MOTOROLA
Chapter 9. Memory Management Unit (MMU)
9-3
Part II. PowerPC Microprocessor Module
9.3 Address Translation
The core generates 32-bit effective addresses (EA) for memory accesses. Setting MSR[IR]
and MSR[DR] enables the effective-to-real translation for instruction fetching and data
accesses, respectively. Section 9.3.1, ÒTranslation Disabled,Ó describes behavior when
translation is disabled. Section 9.3.2, ÒTranslation Enabled,Ó describes behavior when
translation is enabled.
9.3.1 Translation Disabled
Because the IMMU and DMMU are separate, translation can be disabled or enabled
independently for data and instruction accesses by clearing MSR[DR] and MSR[IR],
respectively. When translation is disabled, the effective address is also the physical address.
Because the page translation mechanism is not used, the protection attributes that are part
of the page table structure cannot be used, so defaults are used. The default for whether
accesses are cache-inhibited are programmed through Mx_CTR[CIDEF]. Data accesses
can be either write-through (memory writes go both to the cache and to external memory)
or write back (memory writes directly affect the cache only and memory is updated
indirectly, such as when a modiÞed data in the cache is cast-out by newer data at a different
address that maps to the same cache block). The default is conÞgured by
MD_CTR[WTDEF].
Also, when translation is disabled (real mode), the entire memory space is treated as
guarded by default. The implications of this are:
1. Speculative load/store accesses are stalled until they are no longer speculative.
2. Speculative instruction fetches outside of the current real-mode page are stalled until
they are no longer speculative. The size of real-mode page is determined by
MI_CTR[PPM]. If MI_CTR[PPM] = 0, the real-mode page size is 4 Kbytes; if
MI_CTR[PPM] = 1, the real-mode page size is 1 Kbyte.
This behavior can result in signiÞcant performance degradation.
9.3.2 Translation Enabled
Translations are generated on a per-page basis and are stored in tables in memory. Along
with the translation, each table entry holds attributes for that page, for example, whether a
location is cacheable.
Recently used translations are kept in translation lookaside buffers (TLBs) in hardware. In
the MPC860, software handles the table lookup and TLB reload with little hardware
assistance. This offers a ßexible translation table structure choice, because many systems
would not beneÞt from a full-featured hardware translation mechanism.
A TLB hit in multiple entries is avoided when a TLB is being reloaded. When TLB logic
detects that a new effective page number (EPN) overlaps one in the TLB (when taking into
account pages sizes, subpage validity ßags, user/supervisor state, address pace ID (ASID),
and the SH values of the TLB entries), the new EPN is written and the old one is invalidated.
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......