Subject: Re: Creation of mpc6xx_machdep.c
To: None <port-powerpc@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-powerpc
Date: 06/27/2002 20:43:10
At 10:19 AM 6/26/2002, Allen Briggs wrote:
>On Wed, Jun 26, 2002 at 09:33:53AM -0700, Matt Thomas wrote:
> > Today, I'm planning on create arch/powerpc/mpc6xx/mpc6xx_machdep.c and
> > incorporating much of the redundant code from mpc6xx-based port's
> > machdep.c.
>
>Excellent! I think this is an excellent step forward. PowerPC is much
>better in this regard than m68k, but there is still too much redundant
>code.
Way too much.
> > My primary reason for doing this is to prepare for the addition of
> > Altivec support and I'd like to only change each port once.
>
>Great! I look forward to seeing the Altivec support integrated!
The first step is done. I moved the bat initialization, trap vector
setup, interrupt installer, the dump routine, the vm startup code and
a few others to arch/powerpc/mpc6xx/mpc6xx_machdep.c
Along way, I moved the syscall code (and child_return) out of trap.c
into syscall.c which is common across both mpc6xx and ibm4xx.
I've placed the rest of the diffs to the rest of the ppc ports at
ftp://ftp.netbsd.org/pub/incoming/matt/ppc.diffs
I'm planning on changing the bat initialization calling args.
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message