diff options
Diffstat (limited to 'gpxe/src/include/gpxe/umalloc.h')
-rw-r--r-- | gpxe/src/include/gpxe/umalloc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gpxe/src/include/gpxe/umalloc.h b/gpxe/src/include/gpxe/umalloc.h new file mode 100644 index 00000000..49ec22b4 --- /dev/null +++ b/gpxe/src/include/gpxe/umalloc.h @@ -0,0 +1,17 @@ +#ifndef _GPXE_UMALLOC_H +#define _GPXE_UMALLOC_H + +/** + * @file + * + * User memory allocation + * + */ + +#include <gpxe/uaccess.h> + +extern userptr_t umalloc ( size_t size ); +extern userptr_t urealloc ( userptr_t ptr, size_t new_size ); +extern void ufree ( userptr_t ptr ); + +#endif /* _GPXE_UMALLOC_H */ |