Orion
Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)diff --git a/mem/heap.h b/mem/heap.h new file mode 100644 index 0000000..1923583 --- /dev/null +++ b/mem/heap.h @@ -0,0 +1,11 @@ +#ifndef KERNEL_MEM_HEAP_H +#define KERNEL_MEM_HEAP_H + +#include <stdint.h> +#include <stddef.h> + +void *kmalloc(size_t size); +void _kfree(void *addr, char *file, int line); +#define kfree(a) _kfree(a, __FILE__, __LINE__) + +#endif