Ontwerp en bouw een besturingssysteem/Appendix B/Paging

Uit Wikibooks
Naar navigatie springen Naar zoeken springen

Geen PAE[bewerken]

CR3[bewerken]

 
31              16
Page-Directory-Table Base Address
bits 31-16
15  1211     5432 0
PDT Base Address
bits 15-12
 CDWT 
 


4 KiB pagina's, geen PSE[bewerken]

Page Directory Entry[bewerken]

 
31              16
Page Table Address
bits 31-16
15  1211 9876543210
Page Table Address
bits 15-12
  0 ACDWTUWP
 


Page Table Entry[bewerken]

 
31              16
Page Frame Address
bits 31-16
15  1211 9876543210
Page Frame Address
bits 15-12
 GPADACDWTUWP
 


4 MiB pagina's, PSE[bewerken]

 
31        22212019181716
Page Frame Address (PFA)
bits 31-22
000000
1514131211 9876543210
000PA 
 
G1DACDWTUWP
 


4 MiB pagina's, PSE-36[bewerken]

 
31        22212019181716
Page Frame Address (PFA)
bits 31-22
0000PFA
bits 36-35
15 131211 9876543210
PFA
bits 34-32
PA 
 
G1DACDWTUWP
 


4 MiB pagina's, PSE-40[bewerken]

 
31        222120   16
Page Frame Address (PFA)
bits 31-22
0PFA
bits 40-35
1514131211 9876543210
PFA
bits 34-32
PA 
 
G1DACDWTUWP
 


Legacy PAE[bewerken]

CR3[bewerken]

 
31              16
Page-Directory-Pointer-Table Base Address
bits 31-16
15         5432 0
PDPT Base Address
bits 15-5
CDWT 
 


4 KiB pagina's[bewerken]

Page-Directory-Pointer Entry[bewerken]

 
63          5251  48
000000000000PDB Address
bits 51-48
47              32
Page-Directory Base Address
bits 47-32
31              16
Page-Directory Base Address
bits 31-16
15  1211 98  543210
PDB Address
bits 15-12
 0000CDWT00P
 


Page-Directory Entry[bewerken]

 
6362         5251  48
NX00000000000PTB Address
bits 51-48
47              32
Page-Table Base Address
bits 47-32
31              16
Page-Table Base Address
bits 31-16
15  1211 9876543210
PTB Address
bits 15-12
  0 ACDWTUWP
 



Page-Table Entry[bewerken]

 
6362         5251  48
NX00000000000PPB Address
bits 51-48
47              32
Physical Page Base Address
bits 47-32
31              16
Physical Page Base Address
bits 31-16
15  1211 9876543210
PPB Address
bits 15-12
 GPADACDWTUWP
 


2 MiB pagina's[bewerken]

Page-Directory-Pointer Entry[bewerken]

 
63          5251  48
000000000000PDB Address
bits 51-48
47              32
Page-Directory Base Address
bits 47-32
31              16
Page-Directory Base Address
bits 31-16
15  1211 98  543210
PDB Address
bits 15-12
 0000CDWT00P
 


Page-Directory Entry[bewerken]

 
6362         5251  48
NX00000000000PPB Address
bits 51-48
47              32
Physical Page Base Address
bits 47-32
31         2120   16
Physical Page Base Address
bits 31-21
00000
15 131211 9876543210
000PA 
 
G1DACDWTUWP
 


Long-mode PAE[bewerken]

CR3[bewerken]

 
63          5251  48
000000000000PML4 Base Address
bits 51-48
47              32
Page-Map Level-4 Base Address
bits 47-32
31              16
Page-Map Level-4 Base Address
bits 31-16
15  1211     5432 0
PML4 Base Address
bits 15-12
 CDWT 
 
Informatie afkomstig van http://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.