Function alloc_for_dma

Source
pub fn alloc_for_dma(cnt: usize) -> (PhysAddr, VirtAddr)
Expand description

Allocate memory for the DMA drivers, cnt is the number of physical memory frames you need.