1 /* 2 * Copyright 2005, Ingo Weinhold <bonefish@cs.tu-berlin.de>. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef KERNEL_BOOT_ARCH_H 6 #define KERNEL_BOOT_ARCH_H 7 8 #include <SupportDefs.h> 9 #include <boot/elf.h> 10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /* ELF support */ 17 18 extern status_t boot_arch_elf_relocate_rel(struct preloaded_image *image, 19 struct Elf32_Rel *rel, int rel_len); 20 extern status_t boot_arch_elf_relocate_rela(struct preloaded_image *image, 21 struct Elf32_Rela *rel, int rel_len); 22 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif /* KERNEL_BOOT_ARCH_H */ 29