Struct rstubs::arch::tss::TaskStateSegment
source · #[repr(C, align(4))]pub struct TaskStateSegment {
__: [u8; 108],
}
Expand description
Task state segment register, that holds information about hardware tasks.
Its fields are mostly unused nowdays, with the exception of esp0 and ss0. These fields containt the kernel stack pointer and segment used for interrupt handling.
Fields§
§__: [u8; 108]
Implementations§
source§impl TaskStateSegment
impl TaskStateSegment
sourcepub const fn new() -> TaskStateSegment
pub const fn new() -> TaskStateSegment
Create a new task state segment