beautypg.com

4 tlb functions (tlb extended mode; mmucr.me = 1), 1 unified tlb (utlb) configuration – Renesas SH7781 User Manual

Page 200

background image

7. Memory Management Unit (MMU)

Rev.1.00 Jan. 10, 2008 Page 170 of 1658
REJ09B0261-0100

7.4

TLB Functions (TLB Extended Mode; MMUCR.ME = 1)

7.4.1

Unified TLB (UTLB) Configuration

Figure 7.11 shows the configuration of the UTLB in TLB extended mode. Figure 7.12 shows the
relationship between the page size and address format.

PPN[28:10]

PPN[28:10]

PPN[28:10]

ESZ[3:0]

ESZ[3:0]

ESZ[3:0]

SH

SH

SH

C

C

C

EPR[5:0]

EPR[5:0]

EPR[5:0]

ASID[7:0]

ASID[7:0]

ASID[7:0]

VPN[31:10]

VPN[31:10]

VPN[31:10]

V

V

V

Entry 0

Entry 1

Entry 2

D

D

D

WT

WT

WT

PPN[28:10]

ESZ[3:0]

SH

C EPR[5:0]

ASID[7:0]

VPN[31:10]

V

Entry 63

D WT

Figure 7.11 UTLB Configuration (TLB Extended Mode)

Legend:

• VPN: Virtual page number

For 1-Kbyte page: Upper 22 bits of virtual address

For 4-Kbyte page: Upper 20 bits of virtual address

For 8-Kbyte page: Upper 19 bits of virtual address

For 64-Kbyte page: Upper 16 bits of virtual address

For 256-Kbyte page: Upper 14 bits of virtual address

For 1-Mbyte page: Upper 12 bits of virtual address

For 4-Mbyte page: Upper 10 bits of virtual address

For 64-Mbyte page: Upper 6 bits of virtual address

• ASID: Address space identifier

Indicates the process that can access a virtual page.

In single virtual memory mode and user mode, or in multiple virtual memory mode, if the SH
bit is 0, this identifier is compared with the ASID in PTEH when address comparison is
performed.

• SH: Share status bit

When 0, pages are not shared by processes.

When 1, pages are shared by processes.

• ESZ: Page size bits

Specify the page size.

0000: 1-Kbyte page