xref: /haiku/headers/private/kernel/boot/elf.h (revision 81f5654c124bf46fba0fd251f208e2d88d81e1ce)
1 /*
2 ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
5 #ifndef KERNEL_BOOT_ELF_H
6 #define KERNEL_BOOT_ELF_H
7 
8 
9 #include <elf_priv.h>
10 #include <boot/kernel_args.h>
11 
12 
13 struct preloaded_image {
14 	struct preloaded_image *next;
15 	char		*name;
16 	elf_region	text_region;
17 	elf_region	data_region;
18 	addr_range	dynamic_section;
19 	struct Elf32_Ehdr elf_header;
20 
21 	image_id	id;
22 		// the ID field will be filled out in the kernel
23 };
24 
25 #endif	/* KERNEL_BOOT_ELF_H */
26