[][src]Struct sunrise_kernel::paging::arch::i386::entry::I386Entry

#[repr(transparent)]pub struct I386Entry(u32);

An entry in a page table or page directory. An unused entry is 0.

Trait Implementations

impl Clone for I386Entry[src]

impl Copy for I386Entry[src]

impl Debug for I386Entry[src]

impl HierarchicalEntry for I386Entry[src]

type EntryFlagsType = I386EntryFlags

An entry comports some flags. They are often represented by a structure.

fn is_unused(&self) -> bool[src]

Is the entry unused ?

fn set_unused(&mut self) -> PageState<PhysicalAddress>[src]

Clear the entry

fn is_guard(&self) -> bool[src]

Is the entry a page guard ?

fn flags(&self) -> I386EntryFlags[src]

Get the current entry flags

fn pointed_frame(&self) -> PageState<PhysicalAddress>[src]

Get the associated physical address, if available

fn set(&mut self, frame_phys_addr: PhysicalAddress, flags: I386EntryFlags)[src]

Sets the entry

fn set_guard(&mut self)[src]

Make this entry a page guard

Auto Trait Implementations

impl RefUnwindSafe for I386Entry

impl Send for I386Entry

impl Sync for I386Entry

impl Unpin for I386Entry

impl UnwindSafe for I386Entry

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.