Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 02/22/1999 19:20:04
Module Name:	src
Committed By:	thorpej
Date:		Tue Feb 23 03:20:04 UTC 1999

Modified Files:
	src/sys/arch/alpha/alpha: autoconf.c compat_13_machdep.c cpu.c cpuvar.h
	    genassym.c interrupt.c ipifuncs.c locore.s machdep.c multiproc.s
	    process_machdep.c prom.c trap.c vm_machdep.c
	src/sys/arch/alpha/include: alpha.h proc.h
	src/sys/arch/alpha/tlsb: tlsb.c
Log Message:
Now that we have the kthread mechanism, massively clean up the way
additional processors are spun up on multiprocessor Alpha systems.
Now, each processor gets its own idle thread (the primary processor
uses proc0).  This idle thread is used in switch_exit(), rather than
explicitly referencing proc0.

Also, make `curproc', `fpcurproc', and `curpcb' per-cpu values.  This
required some data structure rearrangement; cpu info is now statically
allocated in the BSS, rather than via malloc(), and cpu_softc is gone.
(Modeled somewhat after NetBSD/sparc's multiprocessor info structures.)