freebsd-skq/sys/contrib/cloudabi
ed ee20ad15b4 Make CloudABI work on i386.
Copy over amd64's cloudabi64_sysvec.c into i386 and tailor it to work.
Again, we use a system call convention similar to FreeBSD, except that
there is no support for indirect system calls (%eax == 0).

Where i386 differs from amd64 is that we have to store thread/process
entry arguments on the stack instead of using registers. We also have to
put an extra pointer on the stack for TLS (for GSBASE). Place that
pointer in the empty slot that is normally used to hold return
addresses. That seems to keep the code simple.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D7590
2016-08-22 17:37:31 +00:00
..
cloudabi32_types.h Import the 32-bit system call table and data types into the tree. 2016-08-21 15:41:19 +00:00
cloudabi64_types.h Import the new automatically generated system call table for CloudABI. 2016-08-19 17:49:35 +00:00
cloudabi_types_common.h Import the new automatically generated system call table for CloudABI. 2016-08-19 17:49:35 +00:00
cloudabi_types.h Import the new automatically generated system call table for CloudABI. 2016-08-19 17:49:35 +00:00
cloudabi_vdso_aarch64.S Rewrite the vDSOs for CloudABI in assembly. 2016-08-21 07:28:38 +00:00
cloudabi_vdso_i686.S Make CloudABI work on i386. 2016-08-22 17:37:31 +00:00
cloudabi_vdso_x86_64.S Rewrite the vDSOs for CloudABI in assembly. 2016-08-21 07:28:38 +00:00
syscalls32.master Fix s/64/32/ conversion errors in the system call table. 2016-08-21 15:56:19 +00:00
syscalls64.master Import the new automatically generated system call table for CloudABI. 2016-08-19 17:49:35 +00:00