1b73b3e5aSAxel Dörfler /* 262dbb799SAxel Dörfler ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3b73b3e5aSAxel Dörfler ** Distributed under the terms of the OpenBeOS License. 4b73b3e5aSAxel Dörfler */ 5b73b3e5aSAxel Dörfler #ifndef KERNEL_BOOT_ELF_H 6b73b3e5aSAxel Dörfler #define KERNEL_BOOT_ELF_H 7b73b3e5aSAxel Dörfler 8b73b3e5aSAxel Dörfler 9b73b3e5aSAxel Dörfler #include <elf_priv.h> 10d9194b62SAxel Dörfler #include <boot/kernel_args.h> 11b73b3e5aSAxel Dörfler 12b73b3e5aSAxel Dörfler 13b73b3e5aSAxel Dörfler struct preloaded_image { 14b73b3e5aSAxel Dörfler struct preloaded_image *next; 15b73b3e5aSAxel Dörfler char *name; 16b73b3e5aSAxel Dörfler elf_region text_region; 17b73b3e5aSAxel Dörfler elf_region data_region; 18*c2c0779eSAxel Dörfler addr_range dynamic_section; 191bde925eSAxel Dörfler struct Elf32_Ehdr elf_header; 20*c2c0779eSAxel Dörfler 21*c2c0779eSAxel Dörfler // these will be filled out in the kernel 22*c2c0779eSAxel Dörfler area_id text; 23*c2c0779eSAxel Dörfler area_id data; 24b73b3e5aSAxel Dörfler }; 25b73b3e5aSAxel Dörfler 26b73b3e5aSAxel Dörfler #endif /* KERNEL_BOOT_ELF_H */ 27