HomeFreeBSD

Add support for CloudABI on ARM64.

Description

Add support for CloudABI on ARM64.

It turns out that it is pretty easy to make CloudABI work on ARM64. We
essentially only need to copy over the sysvec from AMD64 and ensure that
we use ARM64 specific registers.

As there is an overlap between function argument and return registers,
we do need to extend cloudabi64_schedtail() to only set its values if
we're actually forking. Not when we're creating a new thread.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D3917

Details

Provenance
edAuthored on
Reviewer
kib
Differential Revision
D3917: Add support for CloudABI on ARM64.
Parents
rS289751: -C and -c allow at most one input file. Ensure this is the case when the
Branches
Unknown
Tags
Unknown