11 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
14 #include <ipxe/image.h>
17 typedef Elf32_Ehdr Elf_Ehdr;
18 typedef Elf32_Phdr Elf_Phdr;
19 typedef Elf32_Off Elf_Off;
20 #define ELFCLASS ELFCLASS32
22 extern int elf_segments ( struct image *image, Elf_Ehdr *ehdr,
23 int ( * process ) ( struct image *image,
24 Elf_Phdr *phdr, physaddr_t dest ),
25 physaddr_t *entry, physaddr_t *max );
26 extern int elf_load ( struct image *image, physaddr_t *entry, physaddr_t *max );
28 #endif /* _IPXE_ELF_H */