Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/ia32/ia32_sysvec.c
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | struct sysentvec ia32_freebsd_sysvec = { | ||||
.sv_elf_core_abi_vendor = FREEBSD_ABI_VENDOR, | .sv_elf_core_abi_vendor = FREEBSD_ABI_VENDOR, | ||||
.sv_elf_core_prepare_notes = elf32_prepare_notes, | .sv_elf_core_prepare_notes = elf32_prepare_notes, | ||||
.sv_imgact_try = NULL, | .sv_imgact_try = NULL, | ||||
.sv_minsigstksz = MINSIGSTKSZ, | .sv_minsigstksz = MINSIGSTKSZ, | ||||
.sv_minuser = FREEBSD32_MINUSER, | .sv_minuser = FREEBSD32_MINUSER, | ||||
.sv_maxuser = FREEBSD32_MAXUSER, | .sv_maxuser = FREEBSD32_MAXUSER, | ||||
.sv_usrstack = FREEBSD32_USRSTACK, | .sv_usrstack = FREEBSD32_USRSTACK, | ||||
.sv_psstrings = FREEBSD32_PS_STRINGS, | .sv_psstrings = FREEBSD32_PS_STRINGS, | ||||
.sv_psstringssz = sizeof(struct freebsd32_ps_strings), | |||||
.sv_stackprot = VM_PROT_ALL, | .sv_stackprot = VM_PROT_ALL, | ||||
.sv_copyout_auxargs = elf32_freebsd_copyout_auxargs, | .sv_copyout_auxargs = elf32_freebsd_copyout_auxargs, | ||||
.sv_copyout_strings = freebsd32_copyout_strings, | .sv_copyout_strings = freebsd32_copyout_strings, | ||||
.sv_setregs = ia32_setregs, | .sv_setregs = ia32_setregs, | ||||
.sv_fixlimit = ia32_fixlimit, | .sv_fixlimit = ia32_fixlimit, | ||||
.sv_maxssiz = &ia32_maxssiz, | .sv_maxssiz = &ia32_maxssiz, | ||||
.sv_flags = SV_ABI_FREEBSD | SV_ASLR | SV_IA32 | SV_ILP32 | | .sv_flags = SV_ABI_FREEBSD | SV_ASLR | SV_IA32 | SV_ILP32 | | ||||
SV_SHP | SV_TIMEKEEP | SV_RNG_SEED_VER | SV_DSO_SIG, | SV_SHP | SV_TIMEKEEP | SV_RNG_SEED_VER | SV_DSO_SIG, | ||||
.sv_set_syscall_retval = ia32_set_syscall_retval, | .sv_set_syscall_retval = ia32_set_syscall_retval, | ||||
.sv_fetch_syscall_args = ia32_fetch_syscall_args, | .sv_fetch_syscall_args = ia32_fetch_syscall_args, | ||||
.sv_syscallnames = freebsd32_syscallnames, | .sv_syscallnames = freebsd32_syscallnames, | ||||
.sv_shared_page_base = FREEBSD32_SHAREDPAGE, | .sv_shared_page_base = FREEBSD32_SHAREDPAGE, | ||||
.sv_shared_page_len = PAGE_SIZE, | .sv_shared_page_len = PAGE_SIZE, | ||||
.sv_schedtail = NULL, | .sv_schedtail = NULL, | ||||
.sv_thread_detach = NULL, | .sv_thread_detach = NULL, | ||||
.sv_trap = NULL, | .sv_trap = NULL, | ||||
.sv_stackgap = elf32_stackgap, | |||||
.sv_onexec_old = exec_onexec_old, | .sv_onexec_old = exec_onexec_old, | ||||
.sv_onexit = exit_onexit, | .sv_onexit = exit_onexit, | ||||
.sv_set_fork_retval = x86_set_fork_retval, | .sv_set_fork_retval = x86_set_fork_retval, | ||||
}; | }; | ||||
INIT_SYSENTVEC(elf_ia32_sysvec, &ia32_freebsd_sysvec); | INIT_SYSENTVEC(elf_ia32_sysvec, &ia32_freebsd_sysvec); | ||||
static Elf32_Brandinfo ia32_brand_info = { | static Elf32_Brandinfo ia32_brand_info = { | ||||
.brand = ELFOSABI_FREEBSD, | .brand = ELFOSABI_FREEBSD, | ||||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |