pub trait KernelHandler: Send + Sync + 'static {
    fn frame_alloc(&self) -> Option<PhysAddr> { ... }
    fn frame_alloc_contiguous(
        &self,
        _frame_count: usize,
        _align_log2: usize
    ) -> Option<PhysAddr> { ... } fn frame_dealloc(&self, _paddr: PhysAddr) { ... } fn handle_page_fault(&self, _fault_vaddr: VirtAddr, _access_flags: MMUFlags) { ... } }
Expand description

Functions implemented in the kernel and used by HAL funtions.

Provided Methods

Allocate one physical frame.

Allocate contiguous frame_count physical frames.

Deallocate a physical frame.

Handle kernel mode page fault.

Implementors