Subject: CVS commit: syssrc/sys/arch/arm
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 10/19/2002 00:33:00
Module Name: syssrc
Committed By: bjh21
Date: Fri Oct 18 21:33:00 UTC 2002
Modified Files:
syssrc/sys/arch/arm/arm32: cpuswitch.S genassym.cf vm_machdep.c
syssrc/sys/arch/arm/include: pcb.h
syssrc/sys/arch/arm/include/arm32: frame.h
Log Message:
In cpu_switch(), stack more registers at the start of the function,
and hence save fewer into the PCB. This should give me enough free
registers in cpu_switch to tidy things up and support MULTIPROCESSOR
properly. While we're here, make the stacked registers into an
APCS stack frame, so that DDB backtraces through cpu_switch() will
work.
This also affects cpu_fork(), which has to fabricate a switchframe and
PCB for the new process.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/arm/arm32/cpuswitch.S
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/arm/arm32/genassym.cf
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/arm/arm32/vm_machdep.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm/include/pcb.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/arm/include/arm32/frame.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.