Subject: CVS commit: syssrc/sys/arch/sh5/sh5
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 09/04/2002 17:13:29
Module Name: syssrc
Committed By: scw
Date: Wed Sep 4 14:13:29 UTC 2002
Modified Files:
syssrc/sys/arch/sh5/sh5: process_machdep.c
Log Message:
In setregs(), set SF_FLAGS_CALLEE_SAVED in the new process' trapframe
to ensure the callee-saved set will be restored when we switch to it.
(It doesn't actually matter to the new process; it just inherits some
crud in those registers from the kernel if we don't set the bit).
Also ensure the strings pointer in r7 is sign-extended.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/sh5/sh5/process_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.