Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/elf_machdep.c
Show All 28 Lines | |||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#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/reg.h> | |||||
#include <sys/sysent.h> | #include <sys/sysent.h> | ||||
#include <sys/imgact_elf.h> | #include <sys/imgact_elf.h> | ||||
#include <sys/proc.h> | #include <sys/proc.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> | ||||
▲ Show 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | 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 = &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(elf32_sysvec, &elf32_freebsd_sysvec); | INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec); | ||||
static Elf32_Brandinfo freebsd_brand_info = { | static Elf32_Brandinfo freebsd_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 229 Lines • Show Last 20 Lines |