Anonymous user
Setting Up Paging With PAE: Difference between revisions
→Mapping the PD to itself
[unchecked revision] | [unchecked revision] |
No edit summary |
|||
Line 58:
Example (PD's at end of virtual memory)
<pre>
uint64_t * page_dir = (uint64_t*)page_dir_ptr_tab[3]; // get the page
page_dir[511] = (uint64_t)page_dir; // map pd to itself
page_dir[510] = page_dir_ptr_tab[2]; // map pd3 to it
|