Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead.Reviewed by: kibSponsored by: DARPADifferential Revision: https://reviews.freebsd.org/D26458
Use uintptr_t instead of register_t * for the stack base.- Use ustringp for the location of the argv and environment strings and allow destp to travel further down the stack for the stackgap an
Use uintptr_t instead of register_t * for the stack base.- Use ustringp for the location of the argv and environment strings and allow destp to travel further down the stack for the stackgap and auxv regions.- Update the Linux copyout_strings variants to move destp down the stack as was done for the native ABIs in r263349.- Stop allocating a space for a stack gap in the Linux ABIs. This used to hold translated system call arguments, but hasn't been used since r159992.Reviewed by: kibTested on: md64 (amd64, i386, linux64), i386 (i386, linux)Sponsored by: DARPADifferential Revision: https://reviews.freebsd.org/D22501
show more ...
Remove sv_pagesize, originally introduced with r100384.In all of the architectures we have today, we always use PAGE_SIZE.While in theory one could define different things, none of thecurrent arc
Remove sv_pagesize, originally introduced with r100384.In all of the architectures we have today, we always use PAGE_SIZE.While in theory one could define different things, none of thecurrent architectures do, even the ones that have transitioned from32-bit to 64-bit like i386 and arm. Some ancient mips binaries onother systems used 8k instead of 4k, but we don't support runningthose and likely never will due to their age and obscurity.Reviewed by: imp (who also contributed the commit message)Sponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D19280
Port cloudabi32.ko to FreeBSD/arm64.This change adds an implementation of a sysent for running CloudABIarmv6 and armv7 binaries on FreeBSD/arm64. It is a somewhat literal copyof the armv6 version
Port cloudabi32.ko to FreeBSD/arm64.This change adds an implementation of a sysent for running CloudABIarmv6 and armv7 binaries on FreeBSD/arm64. It is a somewhat literal copyof the armv6 version, except that it's been patched up to use the properregisters.Just like for cloudabi32.ko on FreeBSD/amd64, we make use of a vDSO thatautomatically pads system call parameters to 64-bit value. These arestored in a buffer on the stack, meaning we need to use copyin() andcopyout() unconditionally.