[][src]Struct sunrise_kernel::elf_loader::MappedGrubModule

pub struct MappedGrubModule<'a> {
    pub mapping_addr: VirtualAddress,
    pub start: VirtualAddress,
    pub len: usize,
    pub elf: Result<ElfFile<'a>, &'static str>,
}

Represents a grub module once mapped in kernel memory

Fields

mapping_addr: VirtualAddress

The address of the mapping, in KernelLand.

start: VirtualAddress

The start of the module in the mapping, if it was not page aligned.

len: usize

The length of the module.

elf: Result<ElfFile<'a>, &'static str>

The module parsed as an ElfFile.

Trait Implementations

impl<'a> Debug for MappedGrubModule<'a>[src]

impl<'a> Drop for MappedGrubModule<'a>[src]

fn drop(&mut self)[src]

Unmap the module, but do not deallocate physical memory

Auto Trait Implementations

impl<'a> RefUnwindSafe for MappedGrubModule<'a>

impl<'a> Send for MappedGrubModule<'a>

impl<'a> Sync for MappedGrubModule<'a>

impl<'a> Unpin for MappedGrubModule<'a>

impl<'a> UnwindSafe for MappedGrubModule<'a>

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.