Deleted Added
full compact
ia32_sysvec.c (220238) ia32_sysvec.c (227309)
1/*-
2 * Copyright (c) 2002 Doug Rabson
3 * Copyright (c) 2003 Peter Wemm
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:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2002 Doug Rabson
3 * Copyright (c) 2003 Peter Wemm
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:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/compat/ia32/ia32_sysvec.c 220238 2011-04-01 11:16:29Z kib $");
29__FBSDID("$FreeBSD: head/sys/compat/ia32/ia32_sysvec.c 227309 2011-11-07 15:43:11Z ed $");
30
31#include "opt_compat.h"
32
33#define __ELF_WORD_SIZE 32
34
35#include <sys/param.h>
36#include <sys/exec.h>
37#include <sys/fcntl.h>

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

90#ifdef COMPAT_FREEBSD4
91CTASSERT(sizeof(struct ia32_mcontext4) == 260);
92CTASSERT(sizeof(struct ia32_ucontext4) == 324);
93CTASSERT(sizeof(struct ia32_sigframe4) == 408);
94#endif
95
96extern const char *freebsd32_syscallnames[];
97
30
31#include "opt_compat.h"
32
33#define __ELF_WORD_SIZE 32
34
35#include <sys/param.h>
36#include <sys/exec.h>
37#include <sys/fcntl.h>

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

90#ifdef COMPAT_FREEBSD4
91CTASSERT(sizeof(struct ia32_mcontext4) == 260);
92CTASSERT(sizeof(struct ia32_ucontext4) == 324);
93CTASSERT(sizeof(struct ia32_sigframe4) == 408);
94#endif
95
96extern const char *freebsd32_syscallnames[];
97
98SYSCTL_NODE(_compat, OID_AUTO, ia32, CTLFLAG_RW, 0, "ia32 mode");
98static SYSCTL_NODE(_compat, OID_AUTO, ia32, CTLFLAG_RW, 0, "ia32 mode");
99
100static u_long ia32_maxdsiz = IA32_MAXDSIZ;
101SYSCTL_ULONG(_compat_ia32, OID_AUTO, maxdsiz, CTLFLAG_RW, &ia32_maxdsiz, 0, "");
102TUNABLE_ULONG("compat.ia32.maxdsiz", &ia32_maxdsiz);
103u_long ia32_maxssiz = IA32_MAXSSIZ;
104SYSCTL_ULONG(_compat_ia32, OID_AUTO, maxssiz, CTLFLAG_RW, &ia32_maxssiz, 0, "");
105TUNABLE_ULONG("compat.ia32.maxssiz", &ia32_maxssiz);
106static u_long ia32_maxvmem = IA32_MAXVMEM;

--- 131 unchanged lines hidden ---
99
100static u_long ia32_maxdsiz = IA32_MAXDSIZ;
101SYSCTL_ULONG(_compat_ia32, OID_AUTO, maxdsiz, CTLFLAG_RW, &ia32_maxdsiz, 0, "");
102TUNABLE_ULONG("compat.ia32.maxdsiz", &ia32_maxdsiz);
103u_long ia32_maxssiz = IA32_MAXSSIZ;
104SYSCTL_ULONG(_compat_ia32, OID_AUTO, maxssiz, CTLFLAG_RW, &ia32_maxssiz, 0, "");
105TUNABLE_ULONG("compat.ia32.maxssiz", &ia32_maxssiz);
106static u_long ia32_maxvmem = IA32_MAXVMEM;

--- 131 unchanged lines hidden ---