Skip to main content

Module tss

Module tss 

Source
Expand description

Task State Segment (TSS): owns the Interrupt Stack Table and its dedicated stacks for exceptions that need a known-good stack.

Authors: MarioS271

Re-exportsยง

use crate::kinfo; ๐Ÿ”’
use crate::lib::addr::VirtAddr; ๐Ÿ”’
use crate::lib::types::aligned_stack::AlignedStack; ๐Ÿ”’
use core::cell::UnsafeCell; ๐Ÿ”’
use x86_64::structures::tss::TaskStateSegment; ๐Ÿ”’

Structsยง

Tss
Owns the TaskStateSegment and its four IST stacks; must not move after Tss::init (the GDT descriptor points to it).

Constantsยง

DEBUG_IST_STACK_INDEX
DOUBLE_FAULT_IST_STACK_INDEX
MACHINE_CHECK_IST_STACK_INDEX
NMI_IST_STACK_INDEX