aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/elf.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2011-03-07 00:37:50 +0000
committerMichael Brown <mcb30@ipxe.org>2011-03-07 00:37:50 +0000
commit34b6ecb2f1d7940a0065cbabd6f9dcd439b4c841 (patch)
treeea583bf6fde26b2ed12ee3c6b117055e555555d9 /src/include/ipxe/elf.h
parent530a01eff0351d177d95e021249ec65ec631108c (diff)
downloadipxe-34b6ecb2f1d7940a0065cbabd6f9dcd439b4c841.tar.gz
[image] Simplify image management
Refactor the {load,exec} image operations as {probe,exec}. This makes the probe mechanism cleaner, eliminates some forward declarations, avoids holding magic state in image->priv, eliminates the possibility of screwing up between the "load" and "exec" stages, and makes the documentation simpler since the concept of "loading" (as distinct from "executing") no longer needs to be explained. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/elf.h')
-rw-r--r--src/include/ipxe/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/elf.h b/src/include/ipxe/elf.h
index 23160a93e..e5fed2f89 100644
--- a/src/include/ipxe/elf.h
+++ b/src/include/ipxe/elf.h
@@ -12,6 +12,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <elf.h>
-extern int elf_load ( struct image *image );
+extern int elf_load ( struct image *image, physaddr_t *entry );
#endif /* _IPXE_ELF_H */