User’s Manual

IBM PowerPC 750GX and 750GL RISC Microprocessor

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-5shows 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)

Effective Address

Generated

 

Instr

uction A

ccess

 

Data

Access

 

 

 

 

 

 

 

 

 

Instruction

Instruction

 

Data

Data

Translation Disabled

Translation Enabled

Translation Enabled

Translation Disabled

(MSR[IR] = 0)

(MSR[IR] = 1)

(MSR[DR] = 1)

(MSR[DR] = 0)

Perform Real

Addressing Mode

Translation

Compare Address with

Instruction or Data BAT

Array (As Appropriate)

 

 

BAT

 

BAT

 

 

 

Array

 

Array

 

 

 

Miss

 

Hit

 

 

 

 

 

 

 

 

 

Perform Address

 

 

 

 

Translation with

 

 

 

 

Segment Descriptor

 

 

 

 

 

 

 

 

 

Access

 

(See Figure 5-6on

 

Protected

 

page 191)

 

 

 

 

Access Faulted

Perform Real

Addressing Mode

Translation

(See The Programming Environments Manual)

Access

Permitted

Translate Address

Continue Access

to Memory

Subsystem

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)

Memory Management

March 27, 2006

Page 189 of 377