Professional Documents
Culture Documents
x86 Translation and Registers
x86 Translation and Registers
x86 Translation and Registers
x GB
32 20 12 20 12
1023
PPN Flags
16
8 Base Limit Flags 20 12
0 1023
GDT/LDT 1
0
Page Table
PPN Flags
1
0
CR3
Page Directory
31 12 11 10 9 8 7 6 5 4 3 2 1 0
A
P Present
P C W
Page table physical page number V G
S
0 A
D T
U W P W Writable
L
U User
PDE WT 1=Write-through, 0=Write-back
CD Cache disabled
A Accessed
31 12 11 10 9 8 7 6 5 4 3 2 1 0
D Dirty
PS Page size (0=4KB, 1=4MB)
A P C W
Physical page number V G A D A U W P PAT Page table attribute index
L D T
T G Global page
PTE AVL Available for system use
31 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
I
V V
I A V R N O O D I T S Z A P C
EFLAGS D
I I
V M F
0
T P F F F F F F
0
F
0
F
1
F
P F
L
31 30 29 28 19 18 17 16 15 6 5 4 3 2 1 0
P C N A W N E T E M P
CR0 G D W M P E T S M P E
31 0
31 12 11 5 4 3 2 0
P P
CR3 Page-Directory-Table Base Address C W
D T
31 11 10 9 8 7 6 5 4 3 2 1 0
O O
P P M P P T P V
S S D
CR4 X F
C G C A S
E
S V M
E E E E E D I E
M X
15 3 2 1 0
R
CS/DS/ES T TI Table index (0=GDT, 1=LDT)
Selector index P
FS/GS/SS I
L RPL Requester privilege level