summaryrefslogtreecommitdiff
path: root/src/user/include/knob/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/knob/heap.h')
-rw-r--r--src/user/include/knob/heap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/user/include/knob/heap.h b/src/user/include/knob/heap.h
new file mode 100644
index 0000000..32dc44c
--- /dev/null
+++ b/src/user/include/knob/heap.h
@@ -0,0 +1,9 @@
+#ifndef KNOB_HEAP_H
+#define KNOB_HEAP_H
+
+#include <stdint.h>
+
+void *get_block(uint32_t bytes) __attribute__ ((malloc));
+void free_block(void *block);
+
+#endif \ No newline at end of file