544fa25928
reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t).
18 lines
297 B
C
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 */
|