Struct Tss
Source pub struct Tss {
tss: Once<TaskStateSegment>,
ist1: AlignedStack<8192>,
ist2: AlignedStack<8192>,
ist3: AlignedStack<8192>,
ist4: AlignedStack<8192>,
}
Expand description
Owns the TaskStateSegment and its four IST stacks; must not move after
Tss::init (the GDT descriptor points to it).
Create a new, uninitialized Tss; call Tss::init to populate it.
Build the TSS, wiring IST slots 0–3 to this instance’s four dedicated stacks.
Return a reference to the initialized TaskStateSegment.
§Panics
Panics if Tss::init has not been called yet.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
[From]<T> for U chooses to do.
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.