Struct x86_64::registers::control::Cr0[][src]

pub struct Cr0;
Expand description

Various control flags modifying the basic operation of the CPU.

Implementations

Read the current set of CR0 flags.

Read the current raw CR0 value.

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.

Write raw CR0 flags.

Does not preserve any values, including reserved fields.

Safety

This function is unsafe because it’s possible to violate memory safety through it, e.g. by disabling paging.

Updates 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.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.