Function x86::dtables::ldtr

source · []
pub unsafe fn ldtr() -> SegmentSelector
Expand description

Returns the segment selector from the local descriptor table register (LDTR).

The returned segment selector points to the segment descriptor (located in the GDT) for the current LDT.

Safety

Needs CPL 0.