Skip to main content

alloc_zeroed_frame

Function alloc_zeroed_frame 

Source
pub fn alloc_zeroed_frame(pmm: &Pmm, hhdm_offset: u64) -> PhysFrame
Expand description

Allocate one physical frame from the PMM, zero it, and return it as a [PhysFrame].

ยงPanics

Panics if the PMM is out of memory.