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
|
|
|
|
|
|
|
|
|
|
|
|
#include <elf_priv.h>
|
2004-04-21 01:27:02 +00:00
|
|
|
#include <boot/kernel_args.h>
|
2003-10-16 17:55:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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 */
|