5.1.6 General Flow of MMU Address Translation
The following sections describe the general flow used by PowerPC processors to translate effective
addresses to virtual and then physical addresses.
5.1.6.1 Real-Addressing Mode and Block-Address-Translation Selection
When an instruction or data access is generated and the corresponding instruction or data translation is
disabled (MSR[IR] = 0 or MSR[DR] = 0), then the real-addressing mode is used (physical address equals
effective address), and the access continues to the memory subsystem as described in Section 5.2, Real-
Addressing Mode, on page 195.
Figure 5-5 shows the flow the MMUs use in determining whether to select real-addressing mode, block-
address translation, or the segment descriptor to select page-address translation.
Figure 5-5. General Flow of Address Translation (Real-Addressing Mode and Block)
Instruction
Translation Disabled
(MSR[IR] = 0)
Perform Real
Addressing Mode
Translation
Note: If the BAT array search results in a hit, then the access is qualified with the appropriate protection bits.
If the access violates the protection mechanism, then an exception (either ISI or DSI) is generated.
gx_05.fm.(1.2)
March 27, 2006
Effective Address
Instruction Access
Instruction
Translation Enabled
(MSR[IR] = 1)
Compare Address with
Instruction or Data BAT
Array (As Appropriate)
BAT
Array
Miss
Perform Address
Translation with
Segment Descriptor
(See Figure 5-6 on
page 191)
Access Faulted
IBM PowerPC 750GX and 750GL RISC Microprocessor
Generated
Data Access
Data
Translation Enabled
(MSR[DR] = 1)
BAT
Array
Hit
Access
Protected
User's Manual
Data
Translation Disabled
(MSR[DR] = 0)
Perform Real
Addressing Mode
Translation
(See The Programming
Environments Manual)
Access
Permitted
Translate Address
Continue Access
to Memory
Subsystem
Memory Management
Page 189 of 377