Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Creation of mpc6xx_machdep.c



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@localhost
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message




Home | Main Index | Thread Index | Old Index