freebsd-skq/sys/compat/cloudabi32/cloudabi32_syscalls.c
ed 9f5ab27b83 Import the latest CloudABI definitions, version 0.16.
The most important change in this release is the removal of the
poll_fd() system call; CloudABI's equivalent of kevent(). Though I think
that kqueue is a lot saner than many of its alternatives, our
experience is that emulating this system call on other systems
accurately isn't easy. It has become a complex API, even though I'm not
convinced this complexity is needed. This is why we've decided to take a
different approach, by looking one layer up.

We're currently adding an event loop to CloudABI's C library that is API
compatible with libuv (except when incompatible with Capsicum).
Initially, this event loop will be built on top of plain inefficient
poll() calls. Only after this is finished, we'll work our way backwards
and design a new set of system calls to optimize it.

Interesting challenges will include integrating asynchronous I/O into
such a system call API. libuv currently doesn't aio(4) on Linux/BSD, due
to it being unreliable and having undesired semantics.

Obtained from:	https://github.com/NuxiNL/cloudabi
2017-10-18 19:22:53 +00:00

59 lines
3.3 KiB
C

/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
*/
const char *cloudabi32_syscallnames[] = {
"cloudabi_sys_clock_res_get", /* 0 = cloudabi_sys_clock_res_get */
"cloudabi_sys_clock_time_get", /* 1 = cloudabi_sys_clock_time_get */
"cloudabi_sys_condvar_signal", /* 2 = cloudabi_sys_condvar_signal */
"cloudabi_sys_fd_close", /* 3 = cloudabi_sys_fd_close */
"cloudabi_sys_fd_create1", /* 4 = cloudabi_sys_fd_create1 */
"cloudabi_sys_fd_create2", /* 5 = cloudabi_sys_fd_create2 */
"cloudabi_sys_fd_datasync", /* 6 = cloudabi_sys_fd_datasync */
"cloudabi_sys_fd_dup", /* 7 = cloudabi_sys_fd_dup */
"cloudabi32_sys_fd_pread", /* 8 = cloudabi32_sys_fd_pread */
"cloudabi32_sys_fd_pwrite", /* 9 = cloudabi32_sys_fd_pwrite */
"cloudabi32_sys_fd_read", /* 10 = cloudabi32_sys_fd_read */
"cloudabi_sys_fd_replace", /* 11 = cloudabi_sys_fd_replace */
"cloudabi_sys_fd_seek", /* 12 = cloudabi_sys_fd_seek */
"cloudabi_sys_fd_stat_get", /* 13 = cloudabi_sys_fd_stat_get */
"cloudabi_sys_fd_stat_put", /* 14 = cloudabi_sys_fd_stat_put */
"cloudabi_sys_fd_sync", /* 15 = cloudabi_sys_fd_sync */
"cloudabi32_sys_fd_write", /* 16 = cloudabi32_sys_fd_write */
"cloudabi_sys_file_advise", /* 17 = cloudabi_sys_file_advise */
"cloudabi_sys_file_allocate", /* 18 = cloudabi_sys_file_allocate */
"cloudabi_sys_file_create", /* 19 = cloudabi_sys_file_create */
"cloudabi_sys_file_link", /* 20 = cloudabi_sys_file_link */
"cloudabi_sys_file_open", /* 21 = cloudabi_sys_file_open */
"cloudabi_sys_file_readdir", /* 22 = cloudabi_sys_file_readdir */
"cloudabi_sys_file_readlink", /* 23 = cloudabi_sys_file_readlink */
"cloudabi_sys_file_rename", /* 24 = cloudabi_sys_file_rename */
"cloudabi_sys_file_stat_fget", /* 25 = cloudabi_sys_file_stat_fget */
"cloudabi_sys_file_stat_fput", /* 26 = cloudabi_sys_file_stat_fput */
"cloudabi_sys_file_stat_get", /* 27 = cloudabi_sys_file_stat_get */
"cloudabi_sys_file_stat_put", /* 28 = cloudabi_sys_file_stat_put */
"cloudabi_sys_file_symlink", /* 29 = cloudabi_sys_file_symlink */
"cloudabi_sys_file_unlink", /* 30 = cloudabi_sys_file_unlink */
"cloudabi_sys_lock_unlock", /* 31 = cloudabi_sys_lock_unlock */
"cloudabi_sys_mem_advise", /* 32 = cloudabi_sys_mem_advise */
"cloudabi_sys_mem_map", /* 33 = cloudabi_sys_mem_map */
"cloudabi_sys_mem_protect", /* 34 = cloudabi_sys_mem_protect */
"cloudabi_sys_mem_sync", /* 35 = cloudabi_sys_mem_sync */
"cloudabi_sys_mem_unmap", /* 36 = cloudabi_sys_mem_unmap */
"cloudabi32_sys_poll", /* 37 = cloudabi32_sys_poll */
"cloudabi_sys_proc_exec", /* 38 = cloudabi_sys_proc_exec */
"cloudabi_sys_proc_exit", /* 39 = cloudabi_sys_proc_exit */
"cloudabi_sys_proc_fork", /* 40 = cloudabi_sys_proc_fork */
"cloudabi_sys_proc_raise", /* 41 = cloudabi_sys_proc_raise */
"cloudabi_sys_random_get", /* 42 = cloudabi_sys_random_get */
"cloudabi32_sys_sock_recv", /* 43 = cloudabi32_sys_sock_recv */
"cloudabi32_sys_sock_send", /* 44 = cloudabi32_sys_sock_send */
"cloudabi_sys_sock_shutdown", /* 45 = cloudabi_sys_sock_shutdown */
"cloudabi32_sys_thread_create", /* 46 = cloudabi32_sys_thread_create */
"cloudabi_sys_thread_exit", /* 47 = cloudabi_sys_thread_exit */
"cloudabi_sys_thread_yield", /* 48 = cloudabi_sys_thread_yield */
};