#[repr(C, packed)]
pub struct Descriptor64 { /* private fields */ }
Expand description

Entry for IDT, GDT or LDT.

See Intel 3a, Section 3.4.5 “Segment Descriptors”, and Section 3.5.2 “Segment Descriptor Tables in IA-32e Mode”, especially Figure 3-8.

Implementations

Create a new segment, TSS or LDT descriptor by setting the three base and two limit fields.

Creates a new descriptor with selector and offset (for IDT Gate descriptors, e.g. Trap, Interrupts and Task gates)

Sets the interrupt stack table index. The 3-bit IST index field that provides an offset into the IST section of the TSS. Using the IST mechanism, the processor loads the value pointed by an IST pointer into the RSP.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

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.