Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openbios / arch / sparc32 / boot.h
1 /* tag: openbios loader prototypes for sparc32
2  *
3  * Copyright (C) 2004 Stefan Reinauer
4  *
5  * See the file "COPYING" for further information about
6  * the copyright and warranty status of this work.
7  */
8
9 // linux_load.c
10 int linux_load(struct sys_info *info, const char *file, const char *cmdline);
11
12 // context.c
13 extern struct context *__context;
14 unsigned int start_elf(unsigned long entry_point, unsigned long param);
15
16 // boot.c
17 extern const char *bootpath;
18 extern void boot(void);
19 extern void go(void);
20
21 // sys_info.c
22 extern unsigned int qemu_mem_size;
23 extern void collect_sys_info(struct sys_info *info);
24
25 // romvec.c
26 extern struct linux_arguments_v0 obp_arg;
27 extern const void *romvec;
28 extern const char *obp_stdin_path, *obp_stdout_path;
29 extern char obp_stdin, obp_stdout;
30
31 // openbios.c
32 extern int qemu_machine_type;
33
34 // arch/sparc32/lib.c
35 struct linux_mlist_v0;
36 extern struct linux_mlist_v0 *ptphys;
37 extern struct linux_mlist_v0 *ptmap;
38 extern struct linux_mlist_v0 *ptavail;
39
40 void ob_init_mmu(void);
41 void init_mmu_swift(void);