aphrodite::boot

Trait MemoryMapping

Source
pub trait MemoryMapping {
    // Required methods
    fn get_type(&self) -> MemoryType;
    fn get_start(&self) -> u64;
    fn get_length(&self) -> u64;
}
Expand description

A single memory mapping for MemoryMap.

Required Methods§

Source

fn get_type(&self) -> MemoryType

Returns the type of the memory.

Source

fn get_start(&self) -> u64

Returns the beginning of the memory.

Source

fn get_length(&self) -> u64

Returns the length of the memory.

Implementors§