mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
This patches copies all needed ppc files to qemu and modifies them. The generated OpenBIOS image must be loaded at adresse 0xfff00000 by Qemu. It is able to load Yaboot from disk and Yaboot is able to load Linux, but Linux hangs somewhere... of course it needs more work (but this cleans up my patch queue). Thank you to Blue Swirl and Aurelien Jarno for their help. Signed-off-by: Laurent Vivier <Laurent@lvivier.info> git-svn-id: svn://coreboot.org/openbios/openbios-devel@301 f158a5a8-5612-0410-a976-696ce0be7e32
42 lines
872 B
C
42 lines
872 B
C
/*
|
|
* Creation Date: <2004/08/28 17:50:12 stepan>
|
|
* Time-stamp: <2004/08/28 17:50:12 stepan>
|
|
*
|
|
* <kernel.h>
|
|
*
|
|
* Copyright (C) 2004 Stefan Reinauer
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2
|
|
*
|
|
*/
|
|
|
|
#ifndef __KERNEL_H__
|
|
#define __KERNEL_H__
|
|
|
|
/* misc.c */
|
|
extern void fatal_error( const char *str );
|
|
extern void exit( int status );
|
|
|
|
/* start.S */
|
|
extern void flush_icache_range( char *start, char *stop );
|
|
extern char of_rtas_start[], of_rtas_end[];
|
|
|
|
/* methods.c */
|
|
extern void node_methods_init( void );
|
|
|
|
/* main.c */
|
|
extern void boot( void );
|
|
|
|
/* init.c */
|
|
extern void entry( void );
|
|
extern void arch_of_init( void );
|
|
extern int get_bool_res( const char *str );
|
|
|
|
/* tree.c */
|
|
extern void devtree_init( void );
|
|
|
|
|
|
#endif /* __KERNEL_H__ */
|