Struct tartan_arch::x86::protection::BasicTaskStateSegment
source · #[repr(C)]pub struct BasicTaskStateSegment {
pub header: TaskStateSegmentHeader,
pub bitmaps: TaskStateSegmentBitmaps<[u8; 8193]>,
}
Available on x86 only.
Expand description
A task state segment (TSS) with fixed redirect and I/O permission maps.
From the processor’s perspective, the layout of the TSS is flexible after the end of
the TaskStateSegmentHeader
. The permission map may be at any offset or missing
from the segment completely. For that reason, this struct is only suitable for use in
setting up a TSS that the caller owns. For reading a TSS created by another system
(e.g., the bootloader), use the TaskStateSegmentHeader
struct on its own.
Fields§
§header: TaskStateSegmentHeader
Saved task data and pointer to bitmaps
bitmaps: TaskStateSegmentBitmaps<[u8; 8193]>
I/O permission map and interrupt redirect map
Trait Implementations§
source§impl Debug for BasicTaskStateSegment
impl Debug for BasicTaskStateSegment
source§impl PartialEq for BasicTaskStateSegment
impl PartialEq for BasicTaskStateSegment
impl Eq for BasicTaskStateSegment
impl StructuralPartialEq for BasicTaskStateSegment
Auto Trait Implementations§
impl Freeze for BasicTaskStateSegment
impl RefUnwindSafe for BasicTaskStateSegment
impl Send for BasicTaskStateSegment
impl Sync for BasicTaskStateSegment
impl Unpin for BasicTaskStateSegment
impl UnwindSafe for BasicTaskStateSegment
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more