Subject: CVS commit: [ppcoea-renovation] src/sys/arch
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 10/11/2007 18:51:59
Module Name:	src
Committed By:	garbled
Date:		Thu Oct 11 18:51:59 UTC 2007

Modified Files:
	src/sys/arch/macppc/macppc [ppcoea-renovation]: cpu.c locore.S
	    machdep.c
	src/sys/arch/powerpc/include [ppcoea-renovation]: altivec.h cpu.h fpu.h
	src/sys/arch/powerpc/oea [ppcoea-renovation]: altivec.c cpu_subr.c
	src/sys/arch/powerpc/powerpc [ppcoea-renovation]: fpu.c locore_subr.S
	src/sys/arch/prep/conf [ppcoea-renovation]: files.prep
	src/sys/arch/prep/include [ppcoea-renovation]: cpu.h
	src/sys/arch/prep/prep [ppcoea-renovation]: cpu.c machdep.c mainbus.c

Log Message:
Move a bunch of the macppc SMP code out of macppc, and down into the
generic OEA code.  Add a set of md callbacks into these shared routines,
that any oeappc SMP machine needs to provide.  This allows for generally
shared SMP startup code, but still allows for machine-specific
differences in the setup and kicking of the new CPU.

Convert macppc to this new layout.  Tested by Macallan.

Add an initial attempt at SMP to prep.  Tested on UP machine only,
untested on SMP yet.


To generate a diff of this commit:
cvs rdiff -r1.43.16.8 -r1.43.16.9 src/sys/arch/macppc/macppc/cpu.c
cvs rdiff -r1.57.20.3 -r1.57.20.4 src/sys/arch/macppc/macppc/locore.S
cvs rdiff -r1.147.14.10 -r1.147.14.11 src/sys/arch/macppc/macppc/machdep.c
cvs rdiff -r1.10 -r1.10.38.1 src/sys/arch/powerpc/include/altivec.h
cvs rdiff -r1.55.10.4 -r1.55.10.5 src/sys/arch/powerpc/include/cpu.h
cvs rdiff -r1.15 -r1.15.22.1 src/sys/arch/powerpc/include/fpu.h
cvs rdiff -r1.12 -r1.12.14.1 src/sys/arch/powerpc/oea/altivec.c
cvs rdiff -r1.28.16.5 -r1.28.16.6 src/sys/arch/powerpc/oea/cpu_subr.c
cvs rdiff -r1.19 -r1.19.38.1 src/sys/arch/powerpc/powerpc/fpu.c
cvs rdiff -r1.30.14.4 -r1.30.14.5 src/sys/arch/powerpc/powerpc/locore_subr.S
cvs rdiff -r1.57.4.11 -r1.57.4.12 src/sys/arch/prep/conf/files.prep
cvs rdiff -r1.8 -r1.8.28.1 src/sys/arch/prep/include/cpu.h
cvs rdiff -r1.13 -r1.13.26.1 src/sys/arch/prep/prep/cpu.c
cvs rdiff -r1.66.14.11 -r1.66.14.12 src/sys/arch/prep/prep/machdep.c
cvs rdiff -r1.26.16.6 -r1.26.16.7 src/sys/arch/prep/prep/mainbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.