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).
This commit is contained in:
Michael Brown
2007-01-16 08:36:42 +00:00
parent ff8528ea9a
commit 544fa25928
8 changed files with 42 additions and 43 deletions

View File

@@ -1,17 +0,0 @@
#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 */

View File

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