summaryrefslogtreecommitdiff
path: root/common/rt/include/rt_stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rt/include/rt_stdlib.h')
-rw-r--r--common/rt/include/rt_stdlib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/rt/include/rt_stdlib.h b/common/rt/include/rt_stdlib.h
new file mode 100644
index 0000000..a8cc1ec
--- /dev/null
+++ b/common/rt/include/rt_stdlib.h
@@ -0,0 +1,15 @@
+#ifndef __RT_STDLIB_H__
+#define __RT_STDLIB_H__
+
+#include <stdlib.h>
+
+/** memory flags */
+#define MPF_CLR (1 << 0) /** Clear it after allocated */
+
+extern void kfree(void *p);
+
+void *kmalloc(int s, int flags, int __attribute__((__unused__)) node);
+
+
+#endif
+