pub unsafe fn ldtr() -> SegmentSelector {
    let selector: u16;
    llvm_asm!("sldt $0" : "=r"(selector));
    SegmentSelector::from_raw(selector)
}
/// 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.
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.
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 .
pub unsafe fn ldtr() -> SegmentSelector {
    let selector: u16;
    llvm_asm!("sldt $0" : "=r"(selector));
    SegmentSelector::from_raw(selector)
}
pub unsafe fn ldtr ( ) -> SegmentSelector { let selector : u16 ; llvm_asm ! ( " " " " ( selector ) ) ; SegmentSelector :: from_raw ( selector ) }
Returns the segment selector from the local descriptor table register (LDTR).
Returns the segment selector from the local descriptor table register ( LDTR ) .
safety
Needs CPL 0.
Needs CPL 0 .