1 /* 2 ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the MIT License. 4 */ 5 #ifndef LOADER_ELF_H 6 #define LOADER_ELF_H 7 8 9 #include <boot/elf.h> 10 #include <boot/vfs.h> 11 12 13 extern void elf_init(); 14 extern status_t elf_load_image(Directory* directory, const char* path); 15 extern status_t elf_load_image(int fd, preloaded_image** _image); 16 17 extern status_t elf_relocate_image(preloaded_image* image); 18 19 20 #endif /* LOADER_ELF_H */ 21