summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-01-16 09:36:42 +0100
committerMichael Brown2007-01-16 09:36:42 +0100
commit544fa259287a2b919d8ed05bc201a5133032ef05 (patch)
treeff78f4abbfb22c10f45402f98c11e2d5419f5e70 /src/include
parentCreate and use async_block() macro; it cuts down on the visual overhead (diff)
downloadipxe-544fa259287a2b919d8ed05bc201a5133032ef05.tar.gz
ipxe-544fa259287a2b919d8ed05bc201a5133032ef05.tar.xz
ipxe-544fa259287a2b919d8ed05bc201a5133032ef05.zip
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).
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/emalloc.h17
-rw-r--r--src/include/gpxe/umalloc.h17
2 files changed, 17 insertions, 17 deletions
diff --git a/src/include/gpxe/emalloc.h b/src/include/gpxe/emalloc.h
deleted file mode 100644
index cee220dc..00000000
--- a/src/include/gpxe/emalloc.h
+++ /dev/null
@@ -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 */
diff --git a/src/include/gpxe/umalloc.h b/src/include/gpxe/umalloc.h
new file mode 100644
index 00000000..49ec22b4
--- /dev/null
+++ b/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 */