Module arceos_api::mem
source · Expand description
Memory management.
Functions
- ax_alloc
alloc
Allocate a continuous memory blocks with the givenlayout
in the global allocator. - ax_dealloc
alloc
Deallocate the memory block at the givenptr
pointer with the givenlayout
, which should be allocated byax_alloc
.