use the -newos toolchain even if -elf is present.
[newos.git] / boot / sparc / stage2.h
blob2e5226421d3166c84f75db442c1b2ac477327dc2
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
8 #include <boot.h>
10 // kernel args
11 struct 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
30 #endif