Merge tag 'tty-4.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / boot / elf.h
index d4828fcf1cb9f72a7075244e602c3f89c16026ce..1941bc50d4c57bf80c8845a31bc0fe5a9c153f4d 100644 (file)
@@ -146,4 +146,12 @@ typedef struct elf64_phdr {
 #define ELFOSABI_NONE  0
 #define ELFOSABI_LINUX 3
 
+struct elf_info {
+       unsigned long loadsize;
+       unsigned long memsize;
+       unsigned long elfoffset;
+};
+int parse_elf64(void *hdr, struct elf_info *info);
+int parse_elf32(void *hdr, struct elf_info *info);
+
 #endif                         /* _PPC_BOOT_ELF_H_ */