Module arceos_api::mem

source ·
Expand description

Memory management.

Functions

  • Allocate a continuous memory blocks with the given layout in the global allocator.
  • Deallocate the memory block at the given ptr pointer with the given layout, which should be allocated by ax_alloc.