pub fn allocate_zeroed_frame() -> Option<PhysFrame>Expand description
Allocate a single zeroed 4 KiB frame.
Disables IRQs internally. The frame is zeroed before being returned
(FrameAllocOptions::new() defaults to zeroed = true).
This is a convenience wrapper for hardware drivers that need a single
device-accessible page. It carries no DMA-zone or address-range
guarantee : the frame may come from any zone. For strict DMA
requirements (e.g. <16 MiB for ISA DMA), allocate from the DMA zone
directly via FrameAllocOptions.