[][src]Function x86_64::instructions::tables::load_tss

pub unsafe fn load_tss(sel: SegmentSelector)

Load the task state register using the ltr instruction.

Safety

This function is unsafe because the caller must ensure that the given SegmentSelector points to a valid TSS entry in the GDT and that loading this TSS is safe.