freebsd-skq/sys/compat/cloudabi32/syscalls.conf
Ed Schouten 240f8c2d51 Add CPU independent code for running 32-bits CloudABI executables.
Essentially, this is a literal copy of the code in sys/compat/cloudabi64,
except that it now makes use of 32-bits datatypes and limits. In
sys/conf/files, we now need to take care to build the code in
sys/compat/cloudabi if either COMPAT_CLOUDABI32 or COMPAT_CLOUDABI64 is
turned on.

This change does not yet include any of the CPU dependent bits. Right
now I have implementations for running i386 binaries both on i386 and
x86-64, which I will send out for review separately.
2016-08-21 16:01:30 +00:00

16 lines
524 B
Plaintext

# $FreeBSD$
sysnames="cloudabi32_syscalls.c"
sysproto="cloudabi32_proto.h"
sysproto_h=_CLOUDABI32_SYSPROTO_H_
syshdr="cloudabi32_syscall.h"
syssw="cloudabi32_sysent.c"
sysmk="/dev/null"
syscallprefix="CLOUDABI32_SYS_"
switchname="cloudabi32_sysent"
namesname="cloudabi32_syscallnames"
systrace="cloudabi32_systrace_args.c"
# Allow all system calls in capabilities mode. Extract the names of the
# system calls from syscalls.master.
capenabled=`sed -n -e 's/.*\<\(cloudabi[0-9]*_sys_[a-z0-9_]*\)\>.*/\1/p' $1 | tr '\n' ','`