The holy bible of SWEB - Institute of Applied Information Processing ...
The holy bible of SWEB - Institute of Applied Information Processing ...
The holy bible of SWEB - Institute of Applied Information Processing ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.3. BASIC CONCEPTS CHAPTER 3. VM, PROTECTION AND PAGING<br />
Field Bits Description<br />
present 1 If set, the linear address range associated with<br />
this Entry is valid.<br />
writeable 1 If set, writing to the the linear address range<br />
associated with this entry is possible. Note that<br />
unless the WP flag in CR0 is set, supervisor<br />
level code can still write to such pages.<br />
user_access 1 If set, this page is user accessible, otherwise it<br />
is only supervisor accessible (which means only<br />
with privilege level 3)<br />
write_through 1 Switches between write-through and writeback<br />
caching on a per page basis.<br />
cache_disabled 1 Controls caching on an per page basis.<br />
accessed 1 Set by the CPU if a linear address associated<br />
with this page has been accessed. Should be<br />
cleared by the operating system after every read<br />
<strong>of</strong> this bit to continuously track page access.<br />
dirty 1 Set by the CPU if a page has been written to<br />
since the bit was last cleared by the operating<br />
system.<br />
use_4_m_pages 1 This bit only exists in the Page-Directory-Entry.<br />
If set, the last 10 bits <strong>of</strong> this Page-Directory-<br />
Entry are interpreted as the page number <strong>of</strong> a<br />
physical 4MiB Page. Unset, the last 20 bits are<br />
interpreted as the 4KiB physical page number<br />
<strong>of</strong> a Page-Table<br />
global_page 1 If set by the operating system the CPU assumes<br />
this to be a shared page and handles entries<br />
in the TLB (Translation Look-aside Buffer) accordingly.<br />
Note that this bit has effect only in<br />
a Page-Table-Entry or Page-Directory-Entries<br />
that point to 4MiB Pages<br />
page_table_base_address 20 the 20 most significant bits <strong>of</strong> the physical address<br />
<strong>of</strong> a Page-Table<br />
page_base_address 10 or 20 the 20 most significant bits <strong>of</strong> the start address<br />
<strong>of</strong> a physical 4KiB-Page or the 10 most significant<br />
bits <strong>of</strong> the start address <strong>of</strong> a 4MiB-Page<br />
Table 3.3: Explanation <strong>of</strong> Fields in Page-Directory- and Page-Table-Entries<br />
32 <strong>of</strong> 151