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