Anonymous user
Paging: Difference between revisions
no edit summary
[unchecked revision] | [unchecked revision] |
m (→Page Table: grammar) |
No edit summary |
||
Line 68:
== Enabling ==
Enabling paging is actually very simple. All that is needed is to load CR3 with the address of the page directory and to set the paging
<source lang="asm">
Line 75:
mov eax, cr0
or eax,
mov cr0, eax
</source>
If you want to set pages as read-only for both userspace and supervisor, replace
To enable PSE (4 MiB pages) the following code is required.
|