Deleted Added
full compact
ia32_sysvec.c (274817) ia32_sysvec.c (283382)
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 274817 2014-11-21 20:53:17Z jhb $");
29__FBSDID("$FreeBSD: head/sys/compat/ia32/ia32_sysvec.c 283382 2015-05-24 14:51:29Z dchagin $");
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>

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

131#endif
132 ,
133 .sv_set_syscall_retval = ia32_set_syscall_retval,
134 .sv_fetch_syscall_args = ia32_fetch_syscall_args,
135 .sv_syscallnames = freebsd32_syscallnames,
136 .sv_shared_page_base = FREEBSD32_SHAREDPAGE,
137 .sv_shared_page_len = PAGE_SIZE,
138 .sv_schedtail = NULL,
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>

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

131#endif
132 ,
133 .sv_set_syscall_retval = ia32_set_syscall_retval,
134 .sv_fetch_syscall_args = ia32_fetch_syscall_args,
135 .sv_syscallnames = freebsd32_syscallnames,
136 .sv_shared_page_base = FREEBSD32_SHAREDPAGE,
137 .sv_shared_page_len = PAGE_SIZE,
138 .sv_schedtail = NULL,
139 .sv_thread_detach = NULL,
139};
140INIT_SYSENTVEC(elf_ia32_sysvec, &ia32_freebsd_sysvec);
141
142static Elf32_Brandinfo ia32_brand_info = {
143 .brand = ELFOSABI_FREEBSD,
144 .machine = EM_386,
145 .compat_3_brand = "FreeBSD",
146 .emul_path = NULL,

--- 95 unchanged lines hidden ---
140};
141INIT_SYSENTVEC(elf_ia32_sysvec, &ia32_freebsd_sysvec);
142
143static Elf32_Brandinfo ia32_brand_info = {
144 .brand = ELFOSABI_FREEBSD,
145 .machine = EM_386,
146 .compat_3_brand = "FreeBSD",
147 .emul_path = NULL,

--- 95 unchanged lines hidden ---