Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [nathanw_sa] src/sys
Module Name: src
Committed By: thorpej
Date: Thu Jan 16 03:15:00 UTC 2003
Modified Files:
src/sys/arch/alpha/include [nathanw_sa]: signal.h
src/sys/arch/arm/include [nathanw_sa]: signal.h
src/sys/arch/i386/include [nathanw_sa]: signal.h
src/sys/arch/m68k/include [nathanw_sa]: signal.h
src/sys/arch/mips/include [nathanw_sa]: signal.h
src/sys/arch/powerpc/include [nathanw_sa]: signal.h
src/sys/arch/sh3/include [nathanw_sa]: signal.h
src/sys/arch/sparc/include [nathanw_sa]: signal.h
src/sys/arch/vax/include [nathanw_sa]: signal.h
src/sys/sys [nathanw_sa]: ucontext.h
Log Message:
* Include <sys/sigtypes.h> rather than <sys/signal.h> in <sys/ucontext.h>.
* Define _UCONTEXT_TO_SIGCONTEXT() and _SIGCONTEXT_TO_UCONTEXT()
macros for converting a ucontext -> sigcontext and back again.
These macros in turn use machine-dependent macros _MCONTEXT_TO_SIGCONTEXT()
and _SIGCONTEXT_TO_MCONTEXT() provided by <machine/signal.h>.
The conversion process is not 100% accurate, but should be close enough.
Also note that the mcontext conversion may not be enough for all platforms
(m68k is a good example of this). These macros should be used only if
you really know what you're doing.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.5.24.1 src/sys/arch/alpha/include/signal.h
cvs rdiff -r1.1 -r1.1.10.1 src/sys/arch/arm/include/signal.h
cvs rdiff -r1.14 -r1.14.26.1 src/sys/arch/i386/include/signal.h
cvs rdiff -r1.8.30.1 -r1.8.30.2 src/sys/arch/m68k/include/signal.h
cvs rdiff -r1.14.20.1 -r1.14.20.2 src/sys/arch/mips/include/signal.h
cvs rdiff -r1.4.30.2 -r1.4.30.3 src/sys/arch/powerpc/include/signal.h
cvs rdiff -r1.4 -r1.4.6.1 src/sys/arch/sh3/include/signal.h
cvs rdiff -r1.8.12.1 -r1.8.12.2 src/sys/arch/sparc/include/signal.h
cvs rdiff -r1.7 -r1.7.30.1 src/sys/arch/vax/include/signal.h
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/sys/sys/ucontext.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index