pub enum LocalDescriptorTableRegister {}
Available on x86 or x86-64 only.
Expand description

LDTR: Contains a Selector referencing a SegmentDescriptor that points to the the local descriptor table (LDT).

Note that this type cannot be instantiated. It simply serves as a namespace for the get and set methods, which work on a Selector instance.

Implementations§

Retrieve the current value of this register

Update the register with the value in this struct.

The value must point to an entry in the global descriptor table (local == false) with the SystemDescriptorType::LocalDescriptorTable type.

Safety

This register fundamentally affects memory accesses and can have an impact on memory safety.

Get a pointer to the SegmentDescriptor for the currently-loaded local descriptor table, using the value of this register.

Safety

The LDTR must not loaded with a selector for a valid LDR segment descriptor. The returned pointer is only valid until the LDTR is modified.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.