Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/elf32_machdep.c
Show All 38 Lines | |||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/kernel.h> | #include <sys/kernel.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/exec.h> | #include <sys/exec.h> | ||||
#include <sys/imgact.h> | #include <sys/imgact.h> | ||||
#include <sys/linker.h> | #include <sys/linker.h> | ||||
#include <sys/proc.h> | #include <sys/proc.h> | ||||
#include <sys/reg.h> | |||||
#include <sys/sysent.h> | #include <sys/sysent.h> | ||||
#include <sys/imgact_elf.h> | #include <sys/imgact_elf.h> | ||||
#include <sys/syscall.h> | #include <sys/syscall.h> | ||||
#include <sys/signalvar.h> | #include <sys/signalvar.h> | ||||
#include <sys/vnode.h> | #include <sys/vnode.h> | ||||
#include <machine/elf.h> | #include <machine/elf.h> | ||||
#ifdef VFP | #ifdef VFP | ||||
▲ Show 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | static struct sysentvec elf32_freebsd_sysvec = { | ||||
.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_hwcap = &elf32_hwcap, | .sv_hwcap = &elf32_hwcap, | ||||
.sv_hwcap2 = &elf32_hwcap2, | .sv_hwcap2 = &elf32_hwcap2, | ||||
.sv_onexec_old = exec_onexec_old, | .sv_onexec_old = exec_onexec_old, | ||||
.sv_onexit = exit_onexit, | .sv_onexit = exit_onexit, | ||||
.sv_regset_begin = SET_BEGIN(__elfN(regset)), | |||||
.sv_regset_end = SET_LIMIT(__elfN(regset)), | |||||
}; | }; | ||||
INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec); | INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec); | ||||
static Elf32_Brandinfo freebsd32_brand_info = { | static Elf32_Brandinfo freebsd32_brand_info = { | ||||
.brand = ELFOSABI_FREEBSD, | .brand = ELFOSABI_FREEBSD, | ||||
.machine = EM_ARM, | .machine = EM_ARM, | ||||
.compat_3_brand = "FreeBSD", | .compat_3_brand = "FreeBSD", | ||||
.emul_path = NULL, | .emul_path = NULL, | ||||
▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines |