2010-06-26 21:38:03 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2005, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef KERNEL_BOOT_ARCH_H
|
|
|
|
#define KERNEL_BOOT_ARCH_H
|
|
|
|
|
2012-06-23 15:05:16 +04:00
|
|
|
|
2010-06-26 21:38:03 +04:00
|
|
|
#include <SupportDefs.h>
|
|
|
|
#include <boot/elf.h>
|
|
|
|
|
|
|
|
|
|
|
|
/* ELF support */
|
|
|
|
|
2012-06-23 15:05:16 +04:00
|
|
|
extern status_t boot_arch_elf_relocate_rel(preloaded_elf32_image* image,
|
2015-10-26 20:43:44 +03:00
|
|
|
Elf32_Rel* rel, int rel_len);
|
2012-06-23 15:05:16 +04:00
|
|
|
extern status_t boot_arch_elf_relocate_rel(preloaded_elf64_image* image,
|
2015-10-26 20:43:44 +03:00
|
|
|
Elf64_Rel* rel, int rel_len);
|
2012-06-23 15:05:16 +04:00
|
|
|
extern status_t boot_arch_elf_relocate_rela(preloaded_elf32_image* image,
|
2015-10-26 20:43:44 +03:00
|
|
|
Elf32_Rela* rel, int rel_len);
|
2012-06-23 15:05:16 +04:00
|
|
|
extern status_t boot_arch_elf_relocate_rela(preloaded_elf64_image* image,
|
2015-10-26 20:43:44 +03:00
|
|
|
Elf64_Rela* rel, int rel_len);
|
2010-06-26 21:38:03 +04:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* KERNEL_BOOT_ARCH_H */
|