Deleted Added
full compact
freebsd32.h (328454) freebsd32.h (338617)
1/*-
2 * Copyright (c) 2001 Doug Rabson
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

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

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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: stable/11/sys/compat/freebsd32/freebsd32.h 328454 2018-01-26 23:49:31Z jhb $
26 * $FreeBSD: stable/11/sys/compat/freebsd32/freebsd32.h 338617 2018-09-12 18:52:18Z sobomax $
27 */
28
29#ifndef _COMPAT_FREEBSD32_FREEBSD32_H_
30#define _COMPAT_FREEBSD32_FREEBSD32_H_
31
32#include <sys/procfs.h>
33#include <sys/socket.h>
34#include <sys/user.h>

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

73 struct timespec32 it_interval;
74 struct timespec32 it_value;
75};
76#define ITS_CP(src, dst) do { \
77 TS_CP((src), (dst), it_interval); \
78 TS_CP((src), (dst), it_value); \
79} while (0)
80
27 */
28
29#ifndef _COMPAT_FREEBSD32_FREEBSD32_H_
30#define _COMPAT_FREEBSD32_FREEBSD32_H_
31
32#include <sys/procfs.h>
33#include <sys/socket.h>
34#include <sys/user.h>

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

73 struct timespec32 it_interval;
74 struct timespec32 it_value;
75};
76#define ITS_CP(src, dst) do { \
77 TS_CP((src), (dst), it_interval); \
78 TS_CP((src), (dst), it_value); \
79} while (0)
80
81struct bintime32 {
82 uint32_t sec;
83 uint32_t frac[2];
84};
85#define BT_CP(src, dst, fld) do { \
86 CP((src).fld, (dst).fld, sec); \
87 *(uint64_t *)&(dst).fld.frac[0] = (src).fld.frac; \
88} while (0)
89
81struct rusage32 {
82 struct timeval32 ru_utime;
83 struct timeval32 ru_stime;
84 int32_t ru_maxrss;
85 int32_t ru_ixrss;
86 int32_t ru_idrss;
87 int32_t ru_isrss;
88 int32_t ru_minflt;

--- 277 unchanged lines hidden ---
90struct rusage32 {
91 struct timeval32 ru_utime;
92 struct timeval32 ru_stime;
93 int32_t ru_maxrss;
94 int32_t ru_ixrss;
95 int32_t ru_idrss;
96 int32_t ru_isrss;
97 int32_t ru_minflt;

--- 277 unchanged lines hidden ---