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
|
|
|
|
|
|
|
|
|
2004-06-01 02:41:25 +04:00
|
|
|
#include <boot/addr_range.h>
|
2004-06-15 20:53:09 +04:00
|
|
|
#include <sys/stat.h>
|
2003-10-16 21:55:21 +04:00
|
|
|
#include <elf_priv.h>
|
|
|
|
|
|
|
|
|
|
|
|
struct preloaded_image {
|
|
|
|
struct preloaded_image *next;
|
|
|
|
char *name;
|
|
|
|
elf_region text_region;
|
|
|
|
elf_region data_region;
|
2004-05-10 20:50:20 +04:00
|
|
|
addr_range dynamic_section;
|
2004-04-27 15:53:08 +04:00
|
|
|
struct Elf32_Ehdr elf_header;
|
2004-05-12 03:41:34 +04:00
|
|
|
|
2004-06-01 00:30:20 +04:00
|
|
|
struct Elf32_Sym *debug_symbols;
|
|
|
|
const char *debug_string_table;
|
|
|
|
uint32 num_debug_symbols, debug_string_table_size;
|
|
|
|
|
2004-06-15 20:53:09 +04:00
|
|
|
ino_t inode;
|
2004-05-12 03:41:34 +04:00
|
|
|
image_id id;
|
|
|
|
// the ID field will be filled out in the kernel
|
2003-10-16 21:55:21 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* KERNEL_BOOT_ELF_H */
|