Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openbios / arch / ppc / qemu / kernel.h
1 /*
2  *   Creation Date: <2004/08/28 17:50:12 stepan>
3  *   Time-stamp: <2004/08/28 17:50:12 stepan>
4  *
5  *      <kernel.h>
6  *
7  *   Copyright (C) 2004 Stefan Reinauer
8  *
9  *   This program is free software; you can redistribute it and/or
10  *   modify it under the terms of the GNU General Public License
11  *   version 2
12  *
13  */
14
15 #ifndef __KERNEL_H__
16 #define __KERNEL_H__
17
18 /* misc.c */
19 extern void             fatal_error( const char *str );
20 extern void             exit( int status ) __attribute__ ((noreturn));
21
22 /* start.S */
23 extern void             flush_icache_range( char *start, char *stop );
24 extern char             of_rtas_start[], of_rtas_end[];
25 extern void             call_elf( unsigned long arg1, unsigned long arg2, unsigned long elf_entry );
26
27 /* methods.c */
28 extern void             node_methods_init( const char *cpuname );
29
30 /* main.c */
31 extern void             boot( void );
32
33 /* init.c */
34 extern void             entry( void );
35 extern void             arch_of_init( void );
36 extern int              get_bool_res( const char *str );
37
38 /* tree.c */
39 extern void             devtree_init( void );
40
41
42 #endif   /* __KERNEL_H__ */