Deleted Added
full compact
signal.h (90776) signal.h (103408)
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/amd64/include/signal.h 90776 2002-02-17 17:40:34Z deischen $
34 * $FreeBSD: head/sys/amd64/include/signal.h 103408 2002-09-16 19:25:41Z mini $
35 */
36
37#ifndef _MACHINE_SIGNAL_H_
38#define _MACHINE_SIGNAL_H_
39
40/*
41 * Machine-dependent signal definitions
42 */

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

112 int sc_eax;
113 int sc_trapno;
114 int sc_err;
115 int sc_eip;
116 int sc_cs;
117 int sc_efl;
118 int sc_esp;
119 int sc_ss;
35 */
36
37#ifndef _MACHINE_SIGNAL_H_
38#define _MACHINE_SIGNAL_H_
39
40/*
41 * Machine-dependent signal definitions
42 */

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

112 int sc_eax;
113 int sc_trapno;
114 int sc_err;
115 int sc_eip;
116 int sc_cs;
117 int sc_efl;
118 int sc_esp;
119 int sc_ss;
120 int sc_len; /* sizeof(struct mcontext_t) */
120 /*
121 /*
121 * XXX FPU state is 27 * 4 bytes h/w, 1 * 4 bytes s/w (probably not
122 * needed here), or that + 16 * 4 bytes for emulators (probably all
123 * needed here). The "spare" bytes are mostly not spare.
122 * XXX - See <machine/ucontext.h> and <machine/npx.h> for
123 * the following fields.
124 */
124 */
125 int sc_fpregs[28]; /* machine state (FPU): */
126 int sc_spare[17];
125 int sc_fpformat;
126 int sc_ownedfp;
127 int sc_spare1[1];
128 int sc_fpregs[128];
129 int sc_spare2[8];
127};
128
129#define sc_sp sc_esp
130#define sc_fp sc_ebp
131#define sc_pc sc_eip
132#define sc_ps sc_efl
133#define sc_eflags sc_efl
134
135#endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */
136
137#endif /* !_MACHINE_SIGNAL_H_ */
130};
131
132#define sc_sp sc_esp
133#define sc_fp sc_ebp
134#define sc_pc sc_eip
135#define sc_ps sc_efl
136#define sc_eflags sc_efl
137
138#endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */
139
140#endif /* !_MACHINE_SIGNAL_H_ */