NetBSD/sys/arch/powerpc
garbled 9792283735 SMP support for ofppc. (finally) Much thanks to Matt Thomas for help in
figuring out all the crazy nuances of getting this working, and to
Michael Lorenz for testing/fixing my changes on macppc.  Tested with a
quad-proc 7044-270.
Summary of changes:

Bumped CPU_MAXNUM to 16 on ofppc.
Added md_* routines to ofppc/cpu.c, to sync the timebase, and awaken the CPUs.
Fixed a bug in the test for a 64bit bridge cpu early in locore.S
Added code to set the interrupt priority for all CPUs with an openpic.
Change rtas to probe before cpus, to allow use of the rtas freeze/thaw
timebase code routines.
Fix CPU_INFO_FOREACH macro to iterate through detected cpus, not CPU_MAXNUM.
Change most uses of ci_cpuid to ci_index, to deal with CPUs that do not allow
writing to SPR_PIR.  Don't write SPR_PIR unless the secondary cpu identifies
itself as 0.
Change the hatchstack/interrupt stack allocations to allocate a 8192byte
interrupt stack, and a 4096 byte hatch stack, align them to 16 bytes, and
allocate them no lower than 0x10000.  Allocate them separately to prevent the
hatch stack corrupting the interrupt stack later on.
If the CPU is a 64bit cpu, copy SPR_ASR in cpu_hatch()
Set the idle stack to ci->ci_data.cpu_idlelwp->l_addr->u_pcb.pcb_sp.
Add OF_start_cpu().  Add a routine to ofwoea_initppc to spin up secondary
procs early, and place them into a spinloop waiting for the hatch routines
to be ready.
Modify the ipi routines to deal with openpics that reverse byte order on read
from an ipi register. (such as on the 7044)
Change the rtas setup to allocate the rtas physical base address above
the kernel, to avoid mucking up the hatch/interrupt stacks.
2008-04-08 02:33:03 +00:00
..
conf mem*.S no longer include assym.h 2008-03-07 17:10:00 +00:00
fpu
ibm4xx Split device_t and softc for all com(4) devices (well, everything that 2008-03-14 15:09:09 +00:00
include SMP support for ofppc. (finally) Much thanks to Matt Thomas for help in 2008-04-08 02:33:03 +00:00
isa Merge the ppcoea-renovation branch to HEAD. 2007-10-17 19:52:51 +00:00
marvell Replace as much of the hardcoded CACHELINESIZE with 2008-02-05 18:52:55 +00:00
oea SMP support for ofppc. (finally) Much thanks to Matt Thomas for help in 2008-04-08 02:33:03 +00:00
pci split device_t/softc. Use device_xname and device_private. 2008-04-04 16:04:19 +00:00
pic SMP support for ofppc. (finally) Much thanks to Matt Thomas for help in 2008-04-08 02:33:03 +00:00
powerpc SMP support for ofppc. (finally) Much thanks to Matt Thomas for help in 2008-04-08 02:33:03 +00:00
stand/mkbootimage Fix a segv if you forget to set the -m option. 2007-12-24 19:34:41 +00:00
tools/chrpicon Make this output the icon in 16 byte rows, which seems to be what IBM wants. 2008-01-23 23:22:02 +00:00
Makefile insert a .WAIT between include and include/foo subdirs, so that 2008-03-04 08:12:12 +00:00