Module x86::shared::control_regs
[−]
[src]
Functions to read and write control registers. See Intel Vol. 3a Section 2.5, especially Figure 2.6.
Structs
Cr0 | |
Cr4 |
Constants
Functions
cr0 |
Read cr0 |
cr0_write |
Write cr0. |
cr2 |
Contains page-fault linear address. |
cr3 |
Contains page-table root pointer. |
cr3_write |
Switch page-table PML4 pointer. |
cr4 |
Contains various flags to control operations in protected mode. |
cr4_write |
Write cr4. |