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