summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/elf.h
diff options
context:
space:
mode:
authorMichael Brown2007-01-11 17:10:32 +0100
committerMichael Brown2007-01-11 17:10:32 +0100
commitc810baad37673647f6b5683e3f50e7f392c482e2 (patch)
tree908b7867aa72f10e3356a0fe0ed8003564b29733 /src/include/gpxe/elf.h
parentRename "image" field to "data", because "image->image" is just confusing. (diff)
downloadipxe-c810baad37673647f6b5683e3f50e7f392c482e2.tar.gz
ipxe-c810baad37673647f6b5683e3f50e7f392c482e2.tar.xz
ipxe-c810baad37673647f6b5683e3f50e7f392c482e2.zip
Use generic "struct image" rather than "struct elf".
Diffstat (limited to 'src/include/gpxe/elf.h')
-rw-r--r--src/include/gpxe/elf.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/include/gpxe/elf.h b/src/include/gpxe/elf.h
index 8abbb02e1..db28a60af 100644
--- a/src/include/gpxe/elf.h
+++ b/src/include/gpxe/elf.h
@@ -10,17 +10,6 @@
#include <elf.h>
-/** An ELF file */
-struct elf {
- /** ELF file image */
- userptr_t image;
- /** Length of ELF file image */
- size_t len;
-
- /** Entry point */
- physaddr_t entry;
-};
-
-extern int elf_load ( struct elf *elf );
+extern int elf_load ( struct image *image );
#endif /* _GPXE_ELF_H */