2003-10-16 21:55:21 +04:00
|
|
|
/*
|
2004-04-21 03:38:07 +04:00
|
|
|
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
2003-10-16 21:55:21 +04:00
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
#ifndef KERNEL_BOOT_ELF_H
|
|
|
|
#define KERNEL_BOOT_ELF_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <elf_priv.h>
|
2004-04-21 05:27:02 +04:00
|
|
|
#include <boot/kernel_args.h>
|
2003-10-16 21:55:21 +04:00
|
|
|
|
|
|
|
|
|
|
|
struct preloaded_image {
|
|
|
|
struct preloaded_image *next;
|
|
|
|
char *name;
|
|
|
|
elf_region text_region;
|
|
|
|
elf_region data_region;
|
2004-04-21 05:27:02 +04:00
|
|
|
addr_range dynamic_section; // pointer to the dynamic section
|
2004-04-27 15:53:08 +04:00
|
|
|
struct Elf32_Ehdr elf_header;
|
2003-10-16 21:55:21 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* KERNEL_BOOT_ELF_H */
|