32 lines
692 B
C
32 lines
692 B
C
/*
|
|||
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
|||
** Distributed under the terms of the OpenBeOS License.
|
|||
|
|
*/
|
||
|
|
#ifndef KERNEL_BOOT_ELF_H
|
||
|
|
#define KERNEL_BOOT_ELF_H
|
||
|
|
|
||
|
|
|
||
#include <boot/addr_range.h>
|
|||
#include <sys/stat.h>
|
|||
#include <elf_priv.h>
|
|||
|
|
|
||
|
|
|
||
|
|
struct preloaded_image {
|
||
|
|
struct preloaded_image *next;
|
||
|
|
char *name;
|
||
|
|
elf_region text_region;
|
||
|
|
elf_region data_region;
|
||
addr_range dynamic_section;
|
|||
struct Elf32_Ehdr elf_header;
|
|||
|
|||
struct Elf32_Sym *debug_symbols;
|
|||
|
|
const char *debug_string_table;
|
||
|
|
uint32 num_debug_symbols, debug_string_table_size;
|
||
|
|
|
||
ino_t inode;
|
|||
image_id id;
|
|||
|
|
// the ID field will be filled out in the kernel
|
||
};
|
|||
|
|
|
||
|
|
#endif /* KERNEL_BOOT_ELF_H */
|