summaryrefslogtreecommitdiff
path: root/src/rt/rt_stdlib.h
blob: a8cc1ecfb19961375213eeea6cda66370efdad35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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