Deleted Added
full compact
signal.h (105014) signal.h (105950)
1/*
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)signal.h 8.1 (Berkeley) 6/11/93
1/*
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)signal.h 8.1 (Berkeley) 6/11/93
34 * $FreeBSD: head/sys/i386/include/signal.h 105014 2002-10-13 00:31:46Z mike $
34 * $FreeBSD: head/sys/i386/include/signal.h 105950 2002-10-25 19:10:58Z peter $
35 */
36
37#ifndef _MACHINE_SIGNAL_H_
38#define _MACHINE_SIGNAL_H_
39
40#include <sys/cdefs.h>
41#include <sys/_sigset.h>
42

--- 12 unchanged lines hidden (view full) ---

55#endif
56
57#if __BSD_VISIBLE
58#include <machine/trap.h> /* codes for SIGILL, SIGFPE */
59
60/*
61 * Only the kernel should need these old type definitions.
62 */
35 */
36
37#ifndef _MACHINE_SIGNAL_H_
38#define _MACHINE_SIGNAL_H_
39
40#include <sys/cdefs.h>
41#include <sys/_sigset.h>
42

--- 12 unchanged lines hidden (view full) ---

55#endif
56
57#if __BSD_VISIBLE
58#include <machine/trap.h> /* codes for SIGILL, SIGFPE */
59
60/*
61 * Only the kernel should need these old type definitions.
62 */
63#ifdef _KERNEL
63#if defined(_KERNEL) && defined(COMPAT_43)
64/*
65 * Information pushed on stack when a signal is delivered.
66 * This is used by the kernel to restore state following
67 * execution of the signal handler. It is also made available
68 * to the handler to allow it to restore state properly if
69 * a non-standard exit is performed.
70 */
64/*
65 * Information pushed on stack when a signal is delivered.
66 * This is used by the kernel to restore state following
67 * execution of the signal handler. It is also made available
68 * to the handler to allow it to restore state properly if
69 * a non-standard exit is performed.
70 */
71typedef unsigned int osigset_t;
72
73struct osigcontext {
74 int sc_onstack; /* sigstack state to restore */
75 osigset_t sc_mask; /* signal mask to restore */
76 int sc_esp; /* machine state follows: */
77 int sc_ebp;
78 int sc_isp;
79 int sc_eip;
80 int sc_efl;

--- 64 unchanged lines hidden ---
71struct osigcontext {
72 int sc_onstack; /* sigstack state to restore */
73 osigset_t sc_mask; /* signal mask to restore */
74 int sc_esp; /* machine state follows: */
75 int sc_ebp;
76 int sc_isp;
77 int sc_eip;
78 int sc_efl;

--- 64 unchanged lines hidden ---