• Ed Schouten's avatar
    Port cloudabi32.ko to FreeBSD/arm64. · aea6d042
    Ed Schouten authored
    This change adds an implementation of a sysent for running CloudABI
    armv6 and armv7 binaries on FreeBSD/arm64. It is a somewhat literal copy
    of the armv6 version, except that it's been patched up to use the proper
    registers.
    
    Just like for cloudabi32.ko on FreeBSD/amd64, we make use of a vDSO that
    automatically pads system call parameters to 64-bit value. These are
    stored in a buffer on the stack, meaning we need to use copyin() and
    copyout() unconditionally.
    aea6d042