[−][src]Struct x86::bits64::segmentation::Descriptor64
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.
Methods
impl Descriptor64
[src]
pub const NULL: Descriptor64
[src]
pub fn set_base_limit(&mut self, base: u64, limit: u64)
[src]
Create a new segment, TSS or LDT descriptor by setting the three base and two limit fields.
pub fn set_selector_offset(&mut self, selector: SegmentSelector, offset: u64)
[src]
Creates a new descriptor with selector and offset (for IDT Gate descriptors, e.g. Trap, Interrupts and Task gates)
pub fn set_ist(&mut self, index: u8)
[src]
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
impl BuildDescriptor<Descriptor64> for DescriptorBuilder
[src]
fn finish(&self) -> Descriptor64
[src]
impl Copy for Descriptor64
[src]
impl Debug for Descriptor64
[src]
impl Clone for Descriptor64
[src]
fn clone(&self) -> Descriptor64
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Descriptor64
[src]
fn default() -> Descriptor64
[src]
Auto Trait Implementations
impl Send for Descriptor64
impl Sync for Descriptor64
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,