Deleted Added
full compact
linux.h (293477) linux.h (293500)
1/*-
2 * Copyright (c) 1994-1996 S��ren Schmidt
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) 1994-1996 S��ren Schmidt
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: stable/10/sys/i386/linux/linux.h 293477 2016-01-09 14:31:03Z dchagin $
28 * $FreeBSD: stable/10/sys/i386/linux/linux.h 293500 2016-01-09 15:23:54Z dchagin $
29 */
30
31#ifndef _I386_LINUX_H_
32#define _I386_LINUX_H_
33
34#include <sys/signal.h> /* for sigval union */
35
36#include <i386/linux/linux_syscall.h>

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

736 (((desc)->b >> LINUX_ENTRY_B_READ_EXEC_ONLY) & 1)
737#define LINUX_GET_LIMIT_PAGES(desc) \
738 (((desc)->b >> LINUX_ENTRY_B_LIMIT) & 1)
739#define LINUX_GET_PRESENT(desc) \
740 (((desc)->b >> LINUX_ENTRY_B_SEG_NOT_PRESENT) & 1)
741#define LINUX_GET_USEABLE(desc) \
742 (((desc)->b >> LINUX_ENTRY_B_USEABLE) & 1)
743
29 */
30
31#ifndef _I386_LINUX_H_
32#define _I386_LINUX_H_
33
34#include <sys/signal.h> /* for sigval union */
35
36#include <i386/linux/linux_syscall.h>

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

736 (((desc)->b >> LINUX_ENTRY_B_READ_EXEC_ONLY) & 1)
737#define LINUX_GET_LIMIT_PAGES(desc) \
738 (((desc)->b >> LINUX_ENTRY_B_LIMIT) & 1)
739#define LINUX_GET_PRESENT(desc) \
740 (((desc)->b >> LINUX_ENTRY_B_SEG_NOT_PRESENT) & 1)
741#define LINUX_GET_USEABLE(desc) \
742 (((desc)->b >> LINUX_ENTRY_B_USEABLE) & 1)
743
744#define linux_copyout_rusage(r, u) copyout(r, u, sizeof(*r))
745
744/* robust futexes */
745struct linux_robust_list {
746 struct linux_robust_list *next;
747};
748
749struct linux_robust_list_head {
750 struct linux_robust_list list;
751 l_long futex_offset;
752 struct linux_robust_list *pending_list;
753};
754
755#endif /* !_I386_LINUX_H_ */
746/* robust futexes */
747struct linux_robust_list {
748 struct linux_robust_list *next;
749};
750
751struct linux_robust_list_head {
752 struct linux_robust_list list;
753 l_long futex_offset;
754 struct linux_robust_list *pending_list;
755};
756
757#endif /* !_I386_LINUX_H_ */