Deleted Added
full compact
svr4_siginfo.h (139743) svr4_siginfo.h (151463)
1/*-
2 * Copyright (c) 1998 Mark Newton
3 * Copyright (c) 1994 Christos Zoulas
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 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) 1998 Mark Newton
3 * Copyright (c) 1994 Christos Zoulas
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 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/compat/svr4/svr4_siginfo.h 139743 2005-01-05 22:34:37Z imp $
28 * $FreeBSD: head/sys/compat/svr4/svr4_siginfo.h 151463 2005-10-19 09:33:15Z davidxu $
29 */
30
31#ifndef _SVR4_SIGINFO_H_
32#define _SVR4_SIGINFO_H_
33
34#define SVR4_ILL_ILLOPC 1
35#define SVR4_ILL_ILLOPN 2
36#define SVR4_ILL_ILLADR 3

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

91 struct {
92 caddr_t _addr;
93 int _trap;
94 } _fault;
95 } _reason;
96 } _info;
97} svr4_siginfo_t;
98
29 */
30
31#ifndef _SVR4_SIGINFO_H_
32#define _SVR4_SIGINFO_H_
33
34#define SVR4_ILL_ILLOPC 1
35#define SVR4_ILL_ILLOPN 2
36#define SVR4_ILL_ILLADR 3

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

91 struct {
92 caddr_t _addr;
93 int _trap;
94 } _fault;
95 } _reason;
96 } _info;
97} svr4_siginfo_t;
98
99#define si_signo _info._signo
100#define si_code _info._code
101#define si_errno _info._errno
99#define svr4_si_signo _info._signo
100#define svr4_si_code _info._code
101#define svr4_si_errno _info._errno
102
102
103#define si_pid _info._reason._child._pid
104#define si_stime _info._reason._child._stime
105#define si_status _info._reason._child._status
106#define si_utime _info._reason._child._utime
103#define svr4_si_pid _info._reason._child._pid
104#define svr4_si_stime _info._reason._child._stime
105#define svr4_si_status _info._reason._child._status
106#define svr4_si_utime _info._reason._child._utime
107
107
108#define si_addr _info._reason._fault._addr
109#define si_trap _info._reason._fault._trap
108#define svr4_si_addr _info._reason._fault._addr
109#define svr4_si_trap _info._reason._fault._trap
110
111#endif /* !_SVR4_SIGINFO_H_ */
110
111#endif /* !_SVR4_SIGINFO_H_ */