Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 01:57:24 -0700 (PDT)
From:      Jonathan Mini <mini@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 16985 for review
Message-ID:  <200209030857.g838vOik060694@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16985

Change 16985 by mini@mini_stylus on 2002/09/03 01:57:04

	Add an early version of signalcontext(), which adds a signal
	frame to a ucontext_t.

Affected files ...

.. //depot/projects/kse/lib/libc/i386/gen/Makefile.inc#2 edit
.. //depot/projects/kse/lib/libc/i386/gen/signalcontext.c#1 add
.. //depot/projects/kse/sys/sys/ucontext.h#7 edit

Differences ...

==== //depot/projects/kse/lib/libc/i386/gen/Makefile.inc#2 (text+ko) ====

@@ -3,4 +3,4 @@
 
 SRCS+=	_ctx_start.S _setjmp.S alloca.S getcontext.S fabs.S frexp.c \
 	infinity.c isinf.c ldexp.c makecontext.c modf.S \
-	rfork_thread.S setjmp.S sigsetjmp.S swapcontext.c
+	rfork_thread.S setjmp.S sigsetjmp.S swapcontext.c signalcontext.c

==== //depot/projects/kse/sys/sys/ucontext.h#7 (text+ko) ====

@@ -31,6 +31,7 @@
 #ifndef _SYS_UCONTEXT_H_
 #define	_SYS_UCONTEXT_H_
 
+#include <sys/signal.h>
 #include <machine/ucontext.h>
 
 typedef struct __ucontext {
@@ -63,6 +64,7 @@
 int	getcontext(ucontext_t *);
 int	setcontext(const ucontext_t *);
 void	makecontext(ucontext_t *, void (*)(void), int, ...);
+int	signalcontext(ucontext_t *, int, __sighandler_t *);
 int	swapcontext(ucontext_t *, const ucontext_t *);
 #endif /* !_KERNEL */
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209030857.g838vOik060694>