[][src]Trait coreboot_table::Mapper

pub trait Mapper {
    unsafe fn map_aligned(
        &mut self,
        address: PhysicalAddress,
        size: usize
    ) -> Result<VirtualAddress, &'static str>;
unsafe fn unmap_aligned(
        &mut self,
        address: VirtualAddress
    ) -> Result<(), &'static str>;
fn page_size(&self) -> usize; unsafe fn map(
        &mut self,
        address: PhysicalAddress,
        size: usize
    ) -> Result<VirtualAddress, &'static str> { ... }
unsafe fn unmap(
        &mut self,
        address: VirtualAddress
    ) -> Result<(), &'static str> { ... } }

Required methods

unsafe fn map_aligned(
    &mut self,
    address: PhysicalAddress,
    size: usize
) -> Result<VirtualAddress, &'static str>

unsafe fn unmap_aligned(
    &mut self,
    address: VirtualAddress
) -> Result<(), &'static str>

fn page_size(&self) -> usize

Loading content...

Provided methods

unsafe fn map(
    &mut self,
    address: PhysicalAddress,
    size: usize
) -> Result<VirtualAddress, &'static str>

unsafe fn unmap(&mut self, address: VirtualAddress) -> Result<(), &'static str>

Loading content...

Implementors

Loading content...