Deleted Added
full compact
signal.h (83047) signal.h (90776)
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 83047 2001-09-05 01:36:46Z obrien $
34 * $FreeBSD: head/sys/i386/include/signal.h 90776 2002-02-17 17:40:34Z deischen $
35 */
36
37#ifndef _MACHINE_SIGNAL_H_
38#define _MACHINE_SIGNAL_H_
39
40/*
41 * Machine-dependent signal definitions
42 */

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

49 * Minimum signal stack size. The current signal frame
50 * for i386 is 408 bytes large.
51 */
52#define MINSIGSTKSZ (512 * 4)
53
54#include <machine/trap.h> /* codes for SIGILL, SIGFPE */
55
56/*
35 */
36
37#ifndef _MACHINE_SIGNAL_H_
38#define _MACHINE_SIGNAL_H_
39
40/*
41 * Machine-dependent signal definitions
42 */

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

49 * Minimum signal stack size. The current signal frame
50 * for i386 is 408 bytes large.
51 */
52#define MINSIGSTKSZ (512 * 4)
53
54#include <machine/trap.h> /* codes for SIGILL, SIGFPE */
55
56/*
57 * Only the kernel should need these old type definitions.
58 */
59#ifdef _KERNEL
60/*
57 * Information pushed on stack when a signal is delivered.
58 * This is used by the kernel to restore state following
59 * execution of the signal handler. It is also made available
60 * to the handler to allow it to restore state properly if
61 * a non-standard exit is performed.
62 */
63typedef unsigned int osigset_t;
64

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

80 int sc_edx;
81 int sc_ecx;
82 int sc_eax;
83 int sc_gs;
84 int sc_fs;
85 int sc_trapno;
86 int sc_err;
87};
61 * Information pushed on stack when a signal is delivered.
62 * This is used by the kernel to restore state following
63 * execution of the signal handler. It is also made available
64 * to the handler to allow it to restore state properly if
65 * a non-standard exit is performed.
66 */
67typedef unsigned int osigset_t;
68

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

84 int sc_edx;
85 int sc_ecx;
86 int sc_eax;
87 int sc_gs;
88 int sc_fs;
89 int sc_trapno;
90 int sc_err;
91};
92#endif
88
89/*
90 * The sequence of the fields/registers in struct sigcontext should match
91 * those in mcontext_t.
92 */
93struct sigcontext {
94 sigset_t sc_mask; /* signal mask to restore */
95 int sc_onstack; /* sigstack state to restore */

--- 37 unchanged lines hidden ---
93
94/*
95 * The sequence of the fields/registers in struct sigcontext should match
96 * those in mcontext_t.
97 */
98struct sigcontext {
99 sigset_t sc_mask; /* signal mask to restore */
100 int sc_onstack; /* sigstack state to restore */

--- 37 unchanged lines hidden ---