CHAPTER 2 VR4120A
Preliminary User’s Manual S15543EJ1V0UM 105
2.4.2.3 64-bit mode address translation
Figure 2-27 shows the virtual-to-physical-address translation of a 64-bit mode address. This figure illustrates the
two possible page size; a 1-Kbyte page (10 bits) and a 256-Kbyte page (18 bits).
Shown at the top of Figure 2-27 is the virtual address space in which the page size is 1 Kbyte and the offset
is 10 bits. The 30 bits excluding the ASID field represents the virtual page number (VPN), enabling selecting
a page table of 1 G entry.
Shown at the bottom of Figure 2-27 is the virtual address space in which the page size is 256 Kbytes and the
offset is 18 bits. The 22 bits excluding the ASID field represents the VPN, enabling selecting a page table of
4 M entries.
Figure 2-27. 64-bit Mode Virtual Address Translation
31
PFN
32-bit physical address
1024 30
8
0
091039406162636471
ASID
Offset
TLB
1824 228
01718394061
62
636471
ASID
TLB
0 or -1
0 or -1 VPN Offset
VPN Offset
Bits 62 and 63 of the virtual
address select the user,
supervisor, or kernel
address space.
Virtual address for 4 M (222) 256-Kbyte pages
Virtual address for 1 G (230) 1-Kbyte pages
30 bits = 1 G pages
The offset is passed to
ph
y
sical address without
being changed.
The offset is passed to
ph
y
sical address without
being changed.
Virtual-to-ph
y
sical address
translation with the TLB
Virtual-to-ph
y
sical address
translation with the TLB
22 bits = 4 M pages