Module x86_64::control_regs
[−]
[src]
Functions to read and write control registers. See AMD64 Vol. 2 Section 3.1.1
Structs
Cr0 | |
Cr4 |
Constants
Functions
cr0 |
Read CR0 |
cr0_update⚠ |
Update CR0. |
cr0_write⚠ |
Write CR0. |
cr2 |
Contains page-fault virtual address. |
cr3 |
Contains page-table root pointer. |
cr3_write⚠ |
Switch page-table PML4 pointer (level 4 page table). |
cr4 |
Contains various flags to control operations in protected mode. |
cr4_write⚠ |
Write cr4. |