Deleted Added
full compact
sigframe.h (105950) sigframe.h (247047)
1/*-
2 * Copyright (c) 1999 Marcel Moolenaar
3 * 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

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1999 Marcel Moolenaar
3 * 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

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/i386/include/sigframe.h 105950 2002-10-25 19:10:58Z peter $
28 * $FreeBSD: head/sys/i386/include/sigframe.h 247047 2013-02-20 17:39:52Z kib $
29 */
30
31#ifndef _MACHINE_SIGFRAME_H_
32#define _MACHINE_SIGFRAME_H_
33
34/*
35 * Signal frames, arguments passed to application signal handlers.
36 */

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

84 __sighandler_t *sf_handler;
85 } sf_ahu;
86 struct ucontext4 sf_uc; /* = *sf_ucontext */
87 siginfo_t sf_si; /* = *sf_siginfo (SA_SIGINFO case) */
88};
89#endif
90#endif
91
29 */
30
31#ifndef _MACHINE_SIGFRAME_H_
32#define _MACHINE_SIGFRAME_H_
33
34/*
35 * Signal frames, arguments passed to application signal handlers.
36 */

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

84 __sighandler_t *sf_handler;
85 } sf_ahu;
86 struct ucontext4 sf_uc; /* = *sf_ucontext */
87 siginfo_t sf_si; /* = *sf_siginfo (SA_SIGINFO case) */
88};
89#endif
90#endif
91
92struct sigframe {
93 /*
94 * The first four members may be used by applications.
95 *
96 * NOTE: The 4th argument is undocumented, ill commented
97 * on and seems to be somewhat BSD "standard". Handlers
98 * installed with sigvec may be using it.
99 */
100 register_t sf_signum;
101 register_t sf_siginfo; /* code or pointer to sf_si */
102 register_t sf_ucontext; /* points to sf_uc */
103 register_t sf_addr; /* undocumented 4th arg */
92#include <x86/sigframe.h>
104
93
105 union {
106 __siginfohandler_t *sf_action;
107 __sighandler_t *sf_handler;
108 } sf_ahu;
109 ucontext_t sf_uc; /* = *sf_ucontext */
110 siginfo_t sf_si; /* = *sf_siginfo (SA_SIGINFO case) */
111};
112
113#endif /* !_MACHINE_SIGFRAME_H_ */
94#endif /* !_MACHINE_SIGFRAME_H_ */