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; 18c2c0779eSAxel Dörfler addr_range dynamic_section; 191bde925eSAxel Dörfler struct Elf32_Ehdr elf_header; 20*6e062dd1SAxel Dörfler 21*6e062dd1SAxel Dörfler image_id id; 22*6e062dd1SAxel Dörfler // the ID field will be filled out in the kernel 23b73b3e5aSAxel Dörfler }; 24b73b3e5aSAxel Dörfler 25b73b3e5aSAxel Dörfler #endif /* KERNEL_BOOT_ELF_H */ 26