Struct multiboot::MemoryEntry [−][src]
#[repr(C, packed)]pub struct MemoryEntry { /* fields omitted */ }
Multiboot format of the MMAP buffer.
Note that size is defined to be at -4 bytes in multiboot.
Methods
impl MemoryEntry
[src]
impl MemoryEntry
pub fn base_address(&self) -> PAddr
[src]
pub fn base_address(&self) -> PAddr
Get base of memory region.
pub fn length(&self) -> u64
[src]
pub fn length(&self) -> u64
Get size of the memory region.
pub fn memory_type(&self) -> MemoryType
[src]
pub fn memory_type(&self) -> MemoryType
Is the region type valid RAM?
Trait Implementations
impl Debug for MemoryEntry
[src]
impl Debug for MemoryEntry
Auto Trait Implementations
impl Send for MemoryEntry
impl Send for MemoryEntry
impl Sync for MemoryEntry
impl Sync for MemoryEntry