[][src]Struct sunrise_kernel::i386::gdt::DescriptorTable

pub struct DescriptorTable {
    pub table: [DescriptorTableEntry; 13],
}

A structure containing our GDT.

See module level documentation.

Fields

table: [DescriptorTableEntry; 13]

The GDT table, an array of DescriptorTableEntry.

Implementations

impl DescriptorTable[src]

fn load_global(
    &mut self,
    new_cs: Option<SegmentSelector>,
    new_ds: Option<SegmentSelector>,
    new_es: Option<SegmentSelector>,
    new_fs: Option<SegmentSelector>,
    new_gs: Option<SegmentSelector>,
    new_ss: Option<SegmentSelector>
)
[src]

Load this descriptor table into the GDTR, and reload the segment registers.

Trait Implementations

impl Clone for DescriptorTable[src]

impl Debug for DescriptorTable[src]

impl Default for DescriptorTable[src]

Auto Trait Implementations

impl RefUnwindSafe for DescriptorTable

impl Send for DescriptorTable

impl Sync for DescriptorTable

impl Unpin for DescriptorTable

impl UnwindSafe for DescriptorTable

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.