Subject: CVS commit: [nathanw_sa] syssrc/sys/arch/m68k
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 11/21/2001 22:25:05
Module Name: syssrc
Committed By: scw
Date: Wed Nov 21 20:25:04 UTC 2001
Modified Files:
syssrc/sys/arch/m68k/include [nathanw_sa]: frame.h mcontext.h
syssrc/sys/arch/m68k/m68k [nathanw_sa]: sig_machdep.c
Log Message:
Add an MD flag for uc_flags which indicates if the exception frame
area of m68k's mcontext_t structure has valid contents.
In cpu_getcontext(), set the flag for all frame formats >= FMT4 such
that cpu_setcontext() does The Right Thing with both user and kernel
saved contexts.
Make null FP frame detection work for the 68060's FPU, and ensure we
always do at least an fsave/frestore when saving/restoring FPU regs.
Both kernel and user-level get/set context calls pass all Nathan's
context tests now.
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.18.6.1 syssrc/sys/arch/m68k/include/frame.h
cvs rdiff -r1.1.2.1 -r1.1.2.2 syssrc/sys/arch/m68k/include/mcontext.h
cvs rdiff -r1.15.6.4 -r1.15.6.5 syssrc/sys/arch/m68k/m68k/sig_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.