Moved the addr_range struct to a separate header.

Changed the kernel image data to a preloaded image as well, to simplify
handling in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7704 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-05-31 22:44:24 +00:00
parent ca109e727d
commit 78f42e3f33
1 changed files with 2 additions and 10 deletions

View File

@ -8,25 +8,17 @@
#include <SupportDefs.h>
typedef struct addr_range {
addr_t start;
addr_t size;
} addr_range;
#include <boot/elf.h>
#include <platform_kernel_args.h>
#include <arch_kernel_args.h>
struct preloaded_image;
typedef struct kernel_args {
uint32 cons_line;
char *str;
addr_range bootdir_addr;
addr_range kernel_seg0_addr;
addr_range kernel_seg1_addr;
addr_range kernel_dynamic_section_addr;
struct preloaded_image kernel_image;
struct preloaded_image *preloaded_images;
uint32 num_physical_memory_ranges;