[][src]Struct x86::bits64::task::TaskStateSegment

#[repr(C, packed)]
pub struct TaskStateSegment { pub reserved: u32, pub rsp: [u64; 3], pub reserved2: u64, pub ist: [u64; 7], pub reserved3: u64, pub reserved4: u16, pub iomap_base: u16, }

In 64-bit mode the TSS holds information that is not directly related to the task-switch mechanism, but is used for finding kernel level stack if interrupts arrive while in kernel mode.

Fields

reserved: u32rsp: [u64; 3]

The full 64-bit canonical forms of the stack pointers (RSP) for privilege levels 0-2.

reserved2: u64ist: [u64; 7]

The full 64-bit canonical forms of the interrupt stack table (IST) pointers.

reserved3: u64reserved4: u16iomap_base: u16

The 16-bit offset to the I/O permission bit map from the 64-bit TSS base.

Methods

impl TaskStateSegment[src]

pub const fn new() -> TaskStateSegment[src]

Trait Implementations

impl Copy for TaskStateSegment[src]

impl Clone for TaskStateSegment[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TaskStateSegment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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