Index: openbios-devel/arch/ppc/qemu/ofmem.c =================================================================== --- openbios-devel.orig/arch/ppc/qemu/ofmem.c +++ openbios-devel/arch/ppc/qemu/ofmem.c @@ -25,6 +25,11 @@
#define BIT(n) (1U<<(31-(n)))
+/* called from assembly */ +extern void dsi_exception( void ); +extern void isi_exception( void ); +extern void setup_mmu( ulong code_base ); + #define FREE_BASE 0x00004000 #define IO_BASE 0x80000000 #define OFMEM ((ofmem_t*)FREE_BASE) Index: openbios-devel/include/ofmem.h =================================================================== --- openbios-devel.orig/include/ofmem.h +++ openbios-devel/include/ofmem.h @@ -35,9 +35,6 @@ extern ucell ofmem_translate( ucell vir ulong get_ram_size( void ); ulong get_ram_top( void ); ulong get_ram_bottom( void ); -void dsi_exception( void ); -void isi_exception( void ); -void setup_mmu( ulong ramsize ); void ofmem_register( phandle_t ph ); #elif defined(CONFIG_SPARC32) #define PAGE_SHIFT 12