Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 05/25/2000 17:36:54
Module Name:	syssrc
Committed By:	thorpej
Date:		Fri May 26 00:36:53 UTC 2000

Modified Files:
	syssrc/sys/arch/alpha/alpha: genassym.c locore.s
	syssrc/sys/arch/amiga/amiga: genassym.cf locore.s
	syssrc/sys/arch/amigappc/amigappc: genassym.cf locore.S
	syssrc/sys/arch/arm26/arm26: Locore.c
	syssrc/sys/arch/arm32/arm32: cpuswitch.S genassym.cf
	syssrc/sys/arch/atari/atari: genassym.cf locore.s
	syssrc/sys/arch/bebox/bebox: genassym.cf locore.s
	syssrc/sys/arch/evbsh3/evbsh3: genassym.cf locore.s
	syssrc/sys/arch/hp300/hp300: genassym.cf locore.s
	syssrc/sys/arch/i386/i386: genassym.cf locore.s
	syssrc/sys/arch/luna68k/luna68k: genassym.cf locore.s
	syssrc/sys/arch/mac68k/mac68k: genassym.cf locore.s
	syssrc/sys/arch/macppc/macppc: genassym.cf locore.S
	syssrc/sys/arch/mips/mips: genassym.cf locore.S
	syssrc/sys/arch/mmeye/mmeye: genassym.cf locore.s
	syssrc/sys/arch/mvme68k/mvme68k: genassym.cf locore.s
	syssrc/sys/arch/news68k/news68k: genassym.cf locore.s
	syssrc/sys/arch/next68k/next68k: genassym.cf locore.s
	syssrc/sys/arch/ofppc/ofppc: genassym.cf locore.S
	syssrc/sys/arch/pc532/pc532: genassym.cf locore.s
	syssrc/sys/arch/prep/prep: genassym.cf locore.s
	syssrc/sys/arch/sparc/sparc: genassym.cf locore.s
	syssrc/sys/arch/sparc64/sparc64: genassym.cf locore.s
	syssrc/sys/arch/sun3/sun3: genassym.c locore.s
	syssrc/sys/arch/sun3/sun3x: genassym.c locore.s
	syssrc/sys/arch/vax/vax: genassym.cf subr.s
	syssrc/sys/arch/x68k/x68k: genassym.cf locore.s
	syssrc/sys/kern: init_main.c kern_resource.c kern_sig.c kern_synch.c
	    tty.c
	syssrc/sys/sys: proc.h
	syssrc/sys/uvm: uvm_glue.c uvm_meter.c

Log Message:
Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor.  Test against SONPROC as appropriate rather than
combinations of SRUN and curproc.  Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/alpha/alpha/genassym.c
cvs rdiff -r1.72 -r1.73 syssrc/sys/arch/alpha/alpha/locore.s
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/amiga/amiga/genassym.cf
cvs rdiff -r1.113 -r1.114 syssrc/sys/arch/amiga/amiga/locore.s
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/amigappc/amigappc/genassym.cf \
    syssrc/sys/arch/amigappc/amigappc/locore.S
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm26/arm26/Locore.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/arch/arm32/arm32/cpuswitch.S
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/arm32/arm32/genassym.cf
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/atari/atari/genassym.cf
cvs rdiff -r1.65 -r1.66 syssrc/sys/arch/atari/atari/locore.s
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/bebox/bebox/genassym.cf
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/bebox/bebox/locore.s
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/evbsh3/evbsh3/genassym.cf
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/evbsh3/evbsh3/locore.s
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/hp300/hp300/genassym.cf
cvs rdiff -r1.106 -r1.107 syssrc/sys/arch/hp300/hp300/locore.s
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/i386/i386/genassym.cf
cvs rdiff -r1.218 -r1.219 syssrc/sys/arch/i386/i386/locore.s
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/luna68k/luna68k/genassym.cf
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/luna68k/luna68k/locore.s
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/mac68k/mac68k/genassym.cf
cvs rdiff -r1.126 -r1.127 syssrc/sys/arch/mac68k/mac68k/locore.s
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/macppc/macppc/genassym.cf
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/macppc/macppc/locore.S
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/mips/mips/genassym.cf
cvs rdiff -r1.98 -r1.99 syssrc/sys/arch/mips/mips/locore.S
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/mmeye/mmeye/genassym.cf
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/mmeye/mmeye/locore.s
cvs rdiff -r1.15 -r1.16 syssrc/sys/arch/mvme68k/mvme68k/genassym.cf
cvs rdiff -r1.58 -r1.59 syssrc/sys/arch/mvme68k/mvme68k/locore.s
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/news68k/news68k/genassym.cf
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/news68k/news68k/locore.s
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/next68k/next68k/genassym.cf
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/next68k/next68k/locore.s
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/ofppc/ofppc/genassym.cf
cvs rdiff -r1.15 -r1.16 syssrc/sys/arch/ofppc/ofppc/locore.S
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/pc532/pc532/genassym.cf
cvs rdiff -r1.58 -r1.59 syssrc/sys/arch/pc532/pc532/locore.s
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/prep/prep/genassym.cf
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/prep/prep/locore.s
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/sparc/sparc/genassym.cf
cvs rdiff -r1.128 -r1.129 syssrc/sys/arch/sparc/sparc/locore.s
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/sparc64/sparc64/genassym.cf
cvs rdiff -r1.56 -r1.57 syssrc/sys/arch/sparc64/sparc64/locore.s
cvs rdiff -r1.50 -r1.51 syssrc/sys/arch/sun3/sun3/genassym.c
cvs rdiff -r1.70 -r1.71 syssrc/sys/arch/sun3/sun3/locore.s
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/sun3/sun3x/genassym.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/arch/sun3/sun3x/locore.s
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/vax/vax/genassym.cf
cvs rdiff -r1.38 -r1.39 syssrc/sys/arch/vax/vax/subr.s
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/x68k/x68k/genassym.cf
cvs rdiff -r1.55 -r1.56 syssrc/sys/arch/x68k/x68k/locore.s
cvs rdiff -r1.166 -r1.167 syssrc/sys/kern/init_main.c
cvs rdiff -r1.54 -r1.55 syssrc/sys/kern/kern_resource.c
cvs rdiff -r1.98 -r1.99 syssrc/sys/kern/kern_sig.c
cvs rdiff -r1.71 -r1.72 syssrc/sys/kern/kern_synch.c
cvs rdiff -r1.118 -r1.119 syssrc/sys/kern/tty.c
cvs rdiff -r1.90 -r1.91 syssrc/sys/sys/proc.h
cvs rdiff -r1.32 -r1.33 syssrc/sys/uvm/uvm_glue.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/uvm/uvm_meter.c

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