2
0
mirror of https://github.com/xcat2/xNBA.git synced 2026-01-12 18:12:32 +00:00
Files
xNBA/src/include/ipxe/elf.h
Michael Brown 34b6ecb2f1 [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>
2011-03-07 00:37:50 +00:00

18 lines
226 B
C

#ifndef _IPXE_ELF_H
#define _IPXE_ELF_H
/**
* @file
*
* ELF image format
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <elf.h>
extern int elf_load ( struct image *image, physaddr_t *entry );
#endif /* _IPXE_ELF_H */