Function tss::create_tss
source · pub fn create_tss(
cpu_id: CpuId,
double_fault_stack_top_unusable: VirtualAddress,
privilege_stack_top_unusable: VirtualAddress
) -> &'static Mutex<TaskStateSegment>
Expand description
Sets up TSS entry for the given CPU core.
Returns a reference to a Mutex wrapping the new TSS entry.