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

pub unsafe fn load_ldtr(selector: SegmentSelector)
Expand description

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).

Safety

Needs CPL 0.