Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 08/27/2000 03:21:47
Module Name:	syssrc
Committed By:	matt
Date:		Sun Aug 27 00:21:47 UTC 2000

Modified Files:
	syssrc/sys/arch/vax/include: macros.h
	syssrc/sys/arch/vax/vax: subr.s

Log Message:
Since cpu_switch (aka Swtch) is now called at splsched() with sched_lock
locked, cpu_exit needs to do that too.  Since in the lock debug case we
have to use a CALLS which wipes out R0-R6, change the convention for Swtch
so that the proc is passed in R6 and that R6 is clobbered.  This is so
Swtch itself doesn't have to save/restore the proc pointer explicitly.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/vax/include/macros.h
cvs rdiff -r1.54 -r1.55 syssrc/sys/arch/vax/vax/subr.s

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