Anonymous user
Setting Up Paging: Difference between revisions
Jump to navigation
Jump to search
→Creating Your First Page Table: Page alignment notes
[unchecked revision] | [unchecked revision] |
(→Creating a Blank Page Directory: added page align notes) |
(→Creating Your First Page Table: Page alignment notes) |
||
Line 53:
The second step is to create a basic page table. In this example we choose to fill up the whole first page table with addresses for the MMU. Because each page is 4 kilobytes large, and because each page table has exactly 1024 entries, filling up the whole table causes us to map 4 megabytes of memory.
We start like we did with the page directory, by finding a piece of free memory where we can keep our page table. If we properly page-aligned the page directory, then the page table should also be properly page aligned.
<pre>
//our first page table comes right after the page directory
|