Struct taskctx::FxsaveArea

source ·
#[repr(C, align(16))]
pub struct FxsaveArea { pub fcw: u16, pub fsw: u16, pub ftw: u16, pub fop: u16, pub fip: u64, pub fdp: u64, pub mxcsr: u32, pub mxcsr_mask: u32, pub st: [u64; 16], pub xmm: [u64; 32], /* private fields */ }
Expand description

A 512-byte memory region for the FXSAVE/FXRSTOR instruction to save and restore the x87 FPU, MMX, XMM, and MXCSR registers.

See https://www.felixcloutier.com/x86/fxsave for more details.

Fields§

§fcw: u16§fsw: u16§ftw: u16§fop: u16§fip: u64§fdp: u64§mxcsr: u32§mxcsr_mask: u32§st: [u64; 16]§xmm: [u64; 32]

Trait Implementations§

source§

impl Debug for FxsaveArea

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.