Renesas SH7709S Manual Do Utilizador

Página de 807
Rev. 5.00, 09/03, page 64 of 760
31
9
VPN
Virtual address (1-kbyte page)
Virtual address (4-kbyte page)
TLB entry
Offset
VPN
VPN (31–17) VPN (11–10) ASID
V
PPN
D
Offset
0
10
31
11
0
(15)
(2)
(19)
(8)
SH
(1)
(1)
C
PR
(2)
SZ
(1) (1)
(1)
12
  VPN:  Virtual page number. Top 22 bits of virtual address for a 1-kbyte page, or top 20 bits of 
virtual address for a 4-kbyte page. Since VPN bits 16-12 are used as the index number, they 
are not stored in the TLB entry.
  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, 
the address is compared with the ASID in PTEH when address comparison is performed.
 
SH:  Share status bit
 
  0 = Page not shared between processes
 
  1 = Page shared between processes
 SZ: 
Page-size 
bit
 
  0 = 1-kbyte page
 
  1 = 4-kbyte page
 
V:  Valid bit. Indicates whether entry is valid.
 
  0 = Invalid
 
  1 = Valid
 
  Cleared to 0 by a power-on reset. Not affected by a manual reset.
  PPN:  Physical page number. Top 29 bits of physical address. PPN bits 11-10 are not used in case 
of a 4-kbyte page. Attention must be paid to the synonym problem in case of a 1-kbyte page 
(see section 3.4.4, Avoiding Synonym Problems).
      PR:   Set the most significant bit to 0.
 
  Protection key field. 2-bit field encoded to define the access rights to the page.
 
  00: Reading only is possible in privileged mode.
 
  01: Reading/writing is possible in privileged mode.
 
  10: Reading only is possible in privileged/user mode.
 
  11: Reading/writing is possible in privileged/user mode.
 
C:  Cacheable bit. Indicates whether the page is cacheable.
  
0: 
Non-cacheable
  
1: 
Cacheable
 
D:  Dirty bit. Indicates whether the page has been written to.
 
  0 = Not written to
 
  1 = Written to
Legend:
Figure 3.5   Virtual Address and TLB Structure