[][src]Struct sunrise_bootstrap::gdt::DescriptorTable

struct DescriptorTable {
    table: ArrayVec<[DescriptorTableEntry; 16]>,
}

A structure containing our GDT. We can have at most 16 segments, we should be more than enough.

Fields

table: ArrayVec<[DescriptorTableEntry; 16]>

Implementations

impl DescriptorTable[src]

pub fn new() -> DescriptorTable[src]

pub fn push(&mut self, entry: DescriptorTableEntry)[src]

pub fn load_global(&'static self, _new_cs: u16, new_ds: u16, new_ss: u16)[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, 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.