Module arceos_api::mem
source · Expand description
Memory management.
Structs§
- DMAInfo
dma
Represents information related to a DMA operation.
Functions§
- ax_alloc⚠
alloc
Allocates a continuous memory blocks with the givenlayout
in the global allocator. - Allocates coherent memory that meets Direct Memory Access (DMA) requirements.
- ax_dealloc⚠
alloc
Deallocates the memory block at the givenptr
pointer with the givenlayout
, which should be allocated byax_alloc
. - Deallocates coherent memory previously allocated.