1/*
2** Copyright 2001, Travis Geiselbrecht. All rights reserved.
3** Distributed under the terms of the NewOS License.
4*/
5#ifndef _STAGE2_H
6#define _STAGE2_H
7
8#include <boot.h>
9
10// kernel args
11struct kernel_args {
12	unsigned int cons_line;
13	unsigned int mem_size;
14	char *str;
15	const boot_entry *bootdir;
16	unsigned int bootdir_size;
17	unsigned int kernel_seg0_base;
18	unsigned int kernel_seg0_size;
19	unsigned int kernel_seg1_base;
20	unsigned int kernel_seg1_size;
21	unsigned int phys_alloc_range_low;
22	unsigned int phys_alloc_range_high;
23	unsigned int virt_alloc_range_low;
24	unsigned int virt_alloc_range_high;
25	unsigned int stack_start;
26	unsigned int stack_end;
27	// architecture specific
28};
29
30#endif
31
32