2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-02-08 14:53:30 +00:00
Michael Brown 230f16538f Create include/gpxe/elf.h for the ELF bits that aren't part of the ELF
standard and so don't belong in include/elf.h
2007-01-11 15:25:07 +00:00

27 lines
333 B
C

#ifndef _GPXE_ELF_H
#define _GPXE_ELF_H
/**
* @file
*
* ELF image format
*
*/
#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 );
#endif /* _GPXE_ELF_H */