polymorph-allocator 0.1.0-beta.1

A minimal memory manager for no_std

polymorph-allocator

This is very alpha quality software. Lots of things are missing.

Usage

use polymorph_allocator::LockedAllocator;

#[global_allocator]
pub static ALLOCATOR: LockedAllocator = LockedAllocator::empty();

fn main() {
    // For a 32MB heap starting at 1MB in RAM:
    ALLOCATOR.lock().add_region(0x100000, 0x2000000);
}

License

MIT, see LICENSE