david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/gpxe/elf.h

27 lines
333 B
C
Raw Normal View History

#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 */