Setting Up Paging: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Syncing rating with the Tutorials page
Wording change in heading
Line 1: Line 1:
{{Rating|1}}
{{Rating|1}}
This is a guide to setting up paging. It will teach you the basic concepts behind paging and how it can help you with your OS. This example will concentrate on Legacy Non-PSE Non-PAE paging. Paging normally should not be the first part of your memory manager that you write. It is generally considered a good idea to first write a Page Frame Allocator (see [[Page_Frame_Allocation]]) that will manage the computer's physical memory for you. You can then design your paging system to not have to manage the physical memory on which it sits.
This is a guide to setting up paging. It will teach you the basic concepts behind paging and how it can help you with your OS. This example will concentrate on Legacy Non-PSE Non-PAE paging.



Paging is a term that refers to the management of the computer's ''virtual'' memory. If you have not yet created a ''physical'' memory manager, please read and follow [[Page_Frame_Allocation]] before continuing with this article.


==Basic Paging==
==Basic Paging==
Paging allows you to have more than one address space mapped into the real address space. The [[MMU]] uses what is called a Page Directory to map virtual addresses to physical addresses.
Paging allows you to have more than one virtual address space mapped into the physical address space. The [[MMU]] uses what is called a Page Directory to map virtual addresses to physical addresses.