Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/cloudabi64/cloudabi64_sysvec.c
Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
static struct sysentvec cloudabi64_elf_sysvec = { | static struct sysentvec cloudabi64_elf_sysvec = { | ||||
.sv_size = CLOUDABI64_SYS_MAXSYSCALL, | .sv_size = CLOUDABI64_SYS_MAXSYSCALL, | ||||
.sv_table = cloudabi64_sysent, | .sv_table = cloudabi64_sysent, | ||||
.sv_fixup = cloudabi64_fixup_tcb, | .sv_fixup = cloudabi64_fixup_tcb, | ||||
.sv_name = "CloudABI ELF64", | .sv_name = "CloudABI ELF64", | ||||
.sv_coredump = elf64_coredump, | .sv_coredump = elf64_coredump, | ||||
.sv_elf_core_osabi = ELFOSABI_FREEBSD, | |||||
.sv_elf_core_abi_vendor = FREEBSD_ABI_VENDOR, | |||||
.sv_elf_core_prepare_notes = elf64_prepare_notes, | |||||
.sv_minuser = VM_MIN_ADDRESS, | .sv_minuser = VM_MIN_ADDRESS, | ||||
/* Keep top page reserved to work around AMD Ryzen stability issues. */ | /* Keep top page reserved to work around AMD Ryzen stability issues. */ | ||||
.sv_maxuser = VM_MAXUSER_ADDRESS - PAGE_SIZE, | .sv_maxuser = VM_MAXUSER_ADDRESS - PAGE_SIZE, | ||||
.sv_stackprot = VM_PROT_READ | VM_PROT_WRITE, | .sv_stackprot = VM_PROT_READ | VM_PROT_WRITE, | ||||
.sv_copyout_strings = cloudabi64_copyout_strings, | .sv_copyout_strings = cloudabi64_copyout_strings, | ||||
.sv_setregs = cloudabi64_proc_setregs, | .sv_setregs = cloudabi64_proc_setregs, | ||||
.sv_flags = SV_ABI_CLOUDABI | SV_CAPSICUM | SV_LP64, | .sv_flags = SV_ABI_CLOUDABI | SV_CAPSICUM | SV_LP64, | ||||
.sv_set_syscall_retval = cloudabi64_set_syscall_retval, | .sv_set_syscall_retval = cloudabi64_set_syscall_retval, | ||||
Show All 13 Lines |