Struct multiboot::MemoryEntry [] [src]

pub struct MemoryEntry {
    // some fields omitted
}

Multiboot format of the MMAP buffer.

Note that size is defined to be at -4 bytes in multiboot.

Methods

impl MemoryEntry

fn base_address(&self) -> PAddr

Get base of memory region.

fn length(&self) -> u64

Get size of the memory region.

fn memory_type(&self) -> MemoryType

Is the region type valid RAM?

Trait Implementations

Derived Implementations

impl Debug for MemoryEntry

fn fmt(&self, __arg_0: &mut Formatter) -> Result