2003-10-16 17:55:21 +00:00
|
|
|
/*
|
2004-04-20 23:38:07 +00:00
|
|
|
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
2003-10-16 17:55:21 +00:00
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
#ifndef KERNEL_BOOT_ELF_H
|
|
|
|
#define KERNEL_BOOT_ELF_H
|
|
|
|
|
|
|
|
|
2004-05-31 22:41:25 +00:00
|
|
|
#include <boot/addr_range.h>
|
2004-06-15 16:53:09 +00:00
|
|
|
#include <sys/stat.h>
|
2003-10-16 17:55:21 +00: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 16:50:20 +00:00
|
|
|
addr_range dynamic_section;
|
2004-04-27 11:53:08 +00:00
|
|
|
struct Elf32_Ehdr elf_header;
|
2004-05-11 23:41:34 +00:00
|
|
|
|
2004-05-31 20:30:20 +00:00
|
|
|
struct Elf32_Sym *debug_symbols;
|
|
|
|
const char *debug_string_table;
|
|
|
|
uint32 num_debug_symbols, debug_string_table_size;
|
|
|
|
|
2004-06-15 16:53:09 +00:00
|
|
|
ino_t inode;
|
2004-05-11 23:41:34 +00:00
|
|
|
image_id id;
|
|
|
|
// the ID field will be filled out in the kernel
|
2003-10-16 17:55:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* KERNEL_BOOT_ELF_H */
|