commit | 987c0ff61c3b95845b2a2491e3f9a848b0c36ec7 | [log] [tgz] |
---|---|---|
author | Wedson Almeida Filho <wedsonaf@google.com> | Wed Jun 20 16:34:38 2018 +0100 |
committer | Wedson Almeida Filho <wedsonaf@google.com> | Thu Jun 28 15:09:42 2018 +0100 |
tree | 8f29452c208a8fd8f9f5cf5c7d87e7ebc4e380d4 |
Initial commit.
diff --git a/inc/alloc.h b/inc/alloc.h new file mode 100644 index 0000000..b3fc110 --- /dev/null +++ b/inc/alloc.h
@@ -0,0 +1,11 @@ +#ifndef _ALLOC_H +#define _ALLOC_H + +#include <stddef.h> + +void halloc_init(size_t base, size_t size); +void *halloc(size_t size); +void hfree(void *ptr); +void *halloc_aligned(size_t size, size_t align); + +#endif /* _ALLOC_H */