david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/gpxe/umalloc.h
Michael Brown 544fa25928 Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviously
reflect the fact that they allocate and deallocate user memory (i.e.
things reached through a userptr_t).
2007-01-16 08:36:42 +00:00

18 lines
297 B
C

#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 */