Crate umm_malloc[][src]

Provides a global allocator using the umm_malloc library. You must call umm_malloc::init() exactly once before allocating anything using the global memory allocator.

All allocations from this allocator are aligned by 8 bytes. Requesting a larger alignment is not implemented and will panic.

Constants

MIN_ALIGN

All allocations from this allocator are aligned to MIN_ALIGN. Alignments larger than MIN_ALIGN are currently not supported. Calling alloc() or realloc() with a layout requesting a larger alignment will panic.

Functions

init

Initializes the heap