[][src]Struct sunrise_kernel::i386::process_switch::ThreadHardwareContext

pub struct ThreadHardwareContext {
    esp: usize,
}

The hardware context of a paused thread. It contains just enough registers to get the thread running again.

All other registers are to be saved on the thread's kernel stack before scheduling, and restored right after re-schedule.

Stored in the ThreadStruct of every thread.

Fields

esp: usize

The top of the stack, where all other registers are saved.

Trait Implementations

impl Debug for ThreadHardwareContext[src]

impl Default for ThreadHardwareContext[src]

fn default() -> Self[src]

Creates an empty ThreadHardwareContext.

Auto Trait Implementations

impl RefUnwindSafe for ThreadHardwareContext

impl Send for ThreadHardwareContext

impl Sync for ThreadHardwareContext

impl Unpin for ThreadHardwareContext

impl UnwindSafe for ThreadHardwareContext

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.