Setting Up Paging: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
[unchecked revision][unchecked revision]
No edit summary
mNo edit summary
Line 90:
 
===Enable Paging===
The final step is to actually enable paging. First we tell the processor where to find our page directory by putting it's address into the cr3CR3 register. Because C code can notcannot directly access the computer's registers, we will need to use inline assembly code to setaccess cr3CR3. The following assembly is written for GAS. If you use a different assembler then you will need to translate between this assembly format and the format supported by your assembler.
 
<source lang="asm">
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu