Module x86_64::registers::control_regs [] [src]

Functions to read and write control registers. See AMD64 Vol. 2 Section 3.1.1

Structs

Cr0

Provides operating-mode controls and some processor-feature controls.

Cr4

This register contains additional controls for various operating-mode features.

Functions

cr0

Read CR0

cr2

Contains page-fault virtual address.

cr3

Contains page-table root pointer.

cr4

Contains various flags to control operations in protected mode.

cr0_update

Update CR0.

cr0_write

Write CR0.

cr3_write

Switch page-table PML4 pointer (level 4 page table).

cr4_write

Write cr4.