Struct x86_64::registers::control::Cr0 [−][src]
pub struct Cr0;
Expand description
Various control flags modifying the basic operation of the CPU.
Implementations
impl Cr0
[src]
impl Cr0
[src]pub unsafe fn write(flags: Cr0Flags)
[src]
pub unsafe fn write(flags: Cr0Flags)
[src]Write CR0 flags.
Preserves the value of reserved fields.
Safety
This function is unsafe because it’s possible to violate memory safety through it, e.g. by disabling paging.