freebsd-dev/lib/libsysdecode
Ed Schouten 1f3bbfd875 Replace the CloudABI system call table by a machine generated version.
The type definitions and constants that were used by COMPAT_CLOUDABI64
are a literal copy of some headers stored inside of CloudABI's C
library, cloudlibc. What is annoying is that we can't make use of
cloudlibc's system call list, as the format is completely different and
doesn't provide enough information. It had to be synced in manually.

We recently decided to solve this (and some other problems) by moving
the ABI definitions into a separate file:

	https://github.com/NuxiNL/cloudabi/blob/master/cloudabi.txt

This file is processed by a pile of Python scripts to generate the
header files like before, documentation (markdown), but in our case more
importantly: a FreeBSD system call table.

This change discards the old files in sys/contrib/cloudabi and replaces
them by the latest copies, which requires some minor changes here and
there. Because cloudabi.txt also enforces consistent names of the system
call arguments, we have to patch up a small number of system call
implementations to use the new argument names.

The new header files can also be included directly in FreeBSD kernel
space without needing any includes/defines, so we can now remove
cloudabi_syscalldefs.h and cloudabi64_syscalldefs.h. Patch up the
sources to include the definitions directly from sys/contrib/cloudabi
instead.
2016-03-24 21:47:15 +00:00
..
errno.c Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
Makefile Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mkioctls
syscallnames.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
sysdecode_abi_to_freebsd_errno.3 errno(3) -> errno(2) 2016-02-29 17:34:54 +00:00
sysdecode_ioctlname.3
sysdecode_syscallnames.3 Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
sysdecode_utrace.3
sysdecode.3 Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
sysdecode.h Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
utrace.c