[][src]Function x86::dtables::load_ldtr

pub unsafe fn load_ldtr(selector: SegmentSelector)

Loads the segment selector into the selector field of the local descriptor table register (LDTR).

After the segment selector is loaded in the LDTR, the processor uses the segment selector to locate the segment descriptor for the LDT in the global descriptor table (GDT).