Paging: Difference between revisions

Page Table
[unchecked revision][unchecked revision]
(Page Directory)
(Page Table)
Line 32:
 
===Page Table===
In each page table, as it is, there are also 1024 entries. These are called page table entries, and are '''very''' similar to page directory entries.
Todo
 
[[Image:Page table.png|frame|left|A Page Table Entry]]
 
''Note: Only explanations of the bits unique to the page table are below.
 
The first item, is once again, a 4kb aligned physical address. Unlike previously, however, the address is not that of a page table, but instead a 4kb block of physical memory that is then mapped to that location in the page table and directory.
 
The Global, or 'G' above, flag, if set, prevents the [[TLB]] from updating the address in it's cache if CR3 is reset. Note, that the page global enable bit in CR4 must be set to enable this feature.
 
If the Dirty flag ('D') is set, then the page has been written to. This flag is not updated by the CPU, and once set will not unset itself.
 
The 'C' bit is 'D' bit above.
 
====Example====
Anonymous user