xmon support for Walnut
The following patch allows xmon to run on Walnut machines.
arch/ppc/xmon/start.c renamed from linuxppc_2_4_devel/arch/ppc/xmon/start.c +5 -0
@@ -151,6 +151,11 @@ sccd = (volatile unsigned char *)0xffeffb08 ;TXRDY =0x20 ;RXRDY =1 ; +#elif defined(CONFIG_405GP ) + sccc = (volatile unsigned char *)0xef600305 ; + sccd = (volatile unsigned char *)0xef600300 ; +TXRDY =0x20 ; +RXRDY =1 ;#endif /* platform */ }
arch/ppc/xmon/xmon.c renamed from linuxppc_2_4_devel/arch/ppc/xmon/xmon.c +13 -1
@@ -1,5 +1,5 @@/* -* BK Id: %F% %I% %G% %U% %#% +* BK Id: SCCS/s.xmon.c 1.17 08/19/01 19:15:49 benh */ /* * Routines providing a simple monitor for use on the PowerMac.
@@ -910,6 +910,16 @@ }#endif +#ifndef CONFIG_PPC_STD_MMU + +static void +dump_hash_table () +{ +printf ("Non-standard MMU. Can't print has table.\n" ); +} + +#else /* CONFIG_PPC_STD_MMU */ +#ifndef CONFIG_PPC64BRIDGE static void dump_hash_table_seg (unsigned seg,unsigned start,unsigned end)
@@ -1056,6 +1066,8 @@ seg_start = seg_end + 0x1000; } } + +#endif /* CONFIG_PPC_STD_MMU */ int mread (unsigned adrs,void *buf,int size)
--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong. -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/