Paging: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
→Enabling: Added section for enabling 64-bit paging |
|||
Line 101:
</source>
Note: setting the paging flag when the protection flag is clear causes a [[Exceptions#General_Protection_Fault|general protection exception]]. Also, once paging has been enabled, any attempt to enable long mode by setting LME (bit 8) of the [[
If you want to set pages as read-only for both userspace and supervisor, replace 0x80000001 above with 0x80010001, which also sets the WP bit.
|