diff options
Diffstat (limited to 'arch/powerpc/boot/elf.h')
-rw-r--r-- | arch/powerpc/boot/elf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/boot/elf.h b/arch/powerpc/boot/elf.h index d4828fcf1cb9..1941bc50d4c5 100644 --- a/arch/powerpc/boot/elf.h +++ b/arch/powerpc/boot/elf.h | |||
@@ -146,4 +146,12 @@ typedef struct elf64_phdr { | |||
146 | #define ELFOSABI_NONE 0 | 146 | #define ELFOSABI_NONE 0 |
147 | #define ELFOSABI_LINUX 3 | 147 | #define ELFOSABI_LINUX 3 |
148 | 148 | ||
149 | struct elf_info { | ||
150 | unsigned long loadsize; | ||
151 | unsigned long memsize; | ||
152 | unsigned long elfoffset; | ||
153 | }; | ||
154 | int parse_elf64(void *hdr, struct elf_info *info); | ||
155 | int parse_elf32(void *hdr, struct elf_info *info); | ||
156 | |||
149 | #endif /* _PPC_BOOT_ELF_H_ */ | 157 | #endif /* _PPC_BOOT_ELF_H_ */ |