xref: /haiku/headers/private/kernel/boot/elf.h (revision b73b3e5a2d7168411b3db36c9a08570feefc83a4)
1*b73b3e5aSAxel Dörfler /*
2*b73b3e5aSAxel Dörfler ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3*b73b3e5aSAxel Dörfler ** Distributed under the terms of the OpenBeOS License.
4*b73b3e5aSAxel Dörfler */
5*b73b3e5aSAxel Dörfler #ifndef KERNEL_BOOT_ELF_H
6*b73b3e5aSAxel Dörfler #define KERNEL_BOOT_ELF_H
7*b73b3e5aSAxel Dörfler 
8*b73b3e5aSAxel Dörfler 
9*b73b3e5aSAxel Dörfler #include <elf_priv.h>
10*b73b3e5aSAxel Dörfler 
11*b73b3e5aSAxel Dörfler 
12*b73b3e5aSAxel Dörfler struct preloaded_image {
13*b73b3e5aSAxel Dörfler 	struct preloaded_image *next;
14*b73b3e5aSAxel Dörfler 	char		*name;
15*b73b3e5aSAxel Dörfler 	elf_region	text_region;
16*b73b3e5aSAxel Dörfler 	elf_region	data_region;
17*b73b3e5aSAxel Dörfler 	addr		dynamic_section;	// pointer to the dynamic section
18*b73b3e5aSAxel Dörfler 	Elf32_Ehdr	elf_header;
19*b73b3e5aSAxel Dörfler };
20*b73b3e5aSAxel Dörfler 
21*b73b3e5aSAxel Dörfler #endif	/* KERNEL_BOOT_ELF_H */
22