diff options
Diffstat (limited to 'src/include/gpxe')
| -rw-r--r-- | src/include/gpxe/emalloc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gpxe/emalloc.h b/src/include/gpxe/emalloc.h new file mode 100644 index 000000000..cee220dc8 --- /dev/null +++ b/src/include/gpxe/emalloc.h @@ -0,0 +1,17 @@ +#ifndef _GPXE_EMALLOC_H +#define _GPXE_EMALLOC_H + +/** + * @file + * + * External memory allocation + * + */ + +#include <gpxe/uaccess.h> + +extern userptr_t emalloc ( size_t size ); +extern userptr_t erealloc ( userptr_t ptr, size_t new_size ); +extern void efree ( userptr_t ptr ); + +#endif /* _GPXE_EMALLOC_H */ |
