j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2009-08-02 12:59:49 +0200 (Sun, 02 Aug 2009) New Revision: 519
Modified: trunk/openbios-devel/arch/ppc/qemu/ofmem.c trunk/openbios-devel/include/ofmem.h Log: move ppc internal prototypes to arch-specific implementation (Igor Kovalenko)
Modified: trunk/openbios-devel/arch/ppc/qemu/ofmem.c =================================================================== --- trunk/openbios-devel/arch/ppc/qemu/ofmem.c 2009-08-02 10:58:33 UTC (rev 518) +++ trunk/openbios-devel/arch/ppc/qemu/ofmem.c 2009-08-02 10:59:49 UTC (rev 519) @@ -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)
Modified: trunk/openbios-devel/include/ofmem.h =================================================================== --- trunk/openbios-devel/include/ofmem.h 2009-08-02 10:58:33 UTC (rev 518) +++ trunk/openbios-devel/include/ofmem.h 2009-08-02 10:59:49 UTC (rev 519) @@ -35,9 +35,6 @@ 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