Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/elf_machdep.c
Show All 35 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 <vm/vm.h> | #include <vm/vm.h> | ||||
#include <vm/vm_param.h> | #include <vm/vm_param.h> | ||||
▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | static struct sysentvec elf64_freebsd_sysvec = { | ||||
.sv_schedtail = NULL, | .sv_schedtail = NULL, | ||||
.sv_thread_detach = NULL, | .sv_thread_detach = NULL, | ||||
.sv_trap = NULL, | .sv_trap = NULL, | ||||
.sv_stackgap = elf64_stackgap, | .sv_stackgap = elf64_stackgap, | ||||
.sv_hwcap = &elf_hwcap, | .sv_hwcap = &elf_hwcap, | ||||
.sv_hwcap2 = &elf_hwcap2, | .sv_hwcap2 = &elf_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(elf64_sysvec, &elf64_freebsd_sysvec); | INIT_SYSENTVEC(elf64_sysvec, &elf64_freebsd_sysvec); | ||||
static Elf64_Brandinfo freebsd_brand_info = { | static Elf64_Brandinfo freebsd_brand_info = { | ||||
.brand = ELFOSABI_FREEBSD, | .brand = ELFOSABI_FREEBSD, | ||||
.machine = EM_AARCH64, | .machine = EM_AARCH64, | ||||
.compat_3_brand = "FreeBSD", | .compat_3_brand = "FreeBSD", | ||||
.emul_path = NULL, | .emul_path = NULL, | ||||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |