Struct axhal::paging::PagingHandlerImpl
source · pub struct PagingHandlerImpl;
Available on crate feature
paging
only.Expand description
Implementation of [PagingHandler
], to provide physical memory manipulation to
the [page_table_multiarch] crate.
Trait Implementations§
source§impl PagingHandler for PagingHandlerImpl
impl PagingHandler for PagingHandlerImpl
source§fn alloc_frame() -> Option<PhysAddr>
fn alloc_frame() -> Option<PhysAddr>
Request to allocate a 4K-sized physical frame.
source§fn dealloc_frame(paddr: PhysAddr)
fn dealloc_frame(paddr: PhysAddr)
Request to free a allocated physical frame.
source§fn phys_to_virt(paddr: PhysAddr) -> VirtAddr
fn phys_to_virt(paddr: PhysAddr) -> VirtAddr
Returns a virtual address that maps to the given physical address. Read more
Auto Trait Implementations§
impl Freeze for PagingHandlerImpl
impl RefUnwindSafe for PagingHandlerImpl
impl Send for PagingHandlerImpl
impl Sync for PagingHandlerImpl
impl Unpin for PagingHandlerImpl
impl UnwindSafe for PagingHandlerImpl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more