Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 705 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 705 Bytes

mallocx

A freestanding buddy heap allocator, preferable for embedded systems / kernel

Usage

To use it go to this line and change memmap with however you choose to get your heap memory from. Also make sure to remove the #include sys/mman.h from the top line.

Freestanding

If you don't have your own string library that can do memset and memcpy then there's a simple header file which has these two headers already included in the src/lib folders you don't have to worry about anything.