Struct x86_64::registers::model_specific::Efer[][src]

pub struct Efer;
Expand description

The Extended Feature Enable Register.

Implementations

Read the current EFER flags.

Read the current raw EFER flags.

Write the EFER flags, preserving reserved values.

Preserves the value of reserved fields.

Safety

Unsafe because it’s possible to break memory safety with wrong flags, e.g. by disabling long mode.

Write the EFER flags.

Does not preserve any bits, including reserved fields.

Safety

Unsafe because it’s possible to break memory safety with wrong flags, e.g. by disabling long mode.

Update EFER flags.

Preserves the value of reserved fields.

Safety

Unsafe because it’s possible to break memory safety with wrong flags, e.g. by disabling long mode.

The underlying model specific register.

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.