aboutsummaryrefslogtreecommitdiff
path: root/docs/x86_paging.txt
blob: 3d6069a31afd53541db1b592f5ff78f4aa9f90dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45


+------------+
| PML4 Entry |
+------------+


0 		PRESENT
1 		R/W  (1 == writable)
2 		U/S  (1 == user accessable)
3 		PWD  (write-through)
4 		PCD  (cache disable)
5 		A 	 (Accessed)
6   	IGN
7 		RES0
8:10 	IGN
11 		R 	(ign, or restart for HLAT paging)
M-1:12 	next level table PA[M:12]
51:M 	RES0
62:52 	IGN
63 		XD 	(execute disable (if EFER.NXE=1)) otherwise RES0


+------------+
| PDPT ENtry | (level 3) with 1GiB Page (requires PS=1)
+------------+

0 		PRESENT
1 		R/W  (1 == writable)
2 		U/S  (1 == user accessable)
3 		PWD  (write-through)
4 		PCD  (cache disable)
5 		A 	 (Accessed)
6 		D 	 (Dirty)
7 		PS 	 (must be 1)*
8 		G 	 (Global, if CR4.PGE=1), otherwise INR
10:9 	IGR
11 		R 	(ign, or restart for HLAT paging)
12 		PAT (indirectly determines memory type)
29:13 	RES0
M-1:30 	PA[M-1:30]
51:M 	RES0
52:58 	IGN
59:62 	Protection key
63 		XD 	(execute disable (if EFER.NXE=1)) otherwise RES0