summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-08-05 13:10:13 +0000
committered <ed@FreeBSD.org>2015-08-05 13:10:13 +0000
commitead010a7f987fc2d4098667e415b51ac41289cd0 (patch)
treee16305e72efe4266f3bf01bb93a22156e5acfc6b /sys/compat
parent85a31ef593bd4b59a3a80bfb5bf8003430a1b41f (diff)
downloadFreeBSD-src-ead010a7f987fc2d4098667e415b51ac41289cd0.zip
FreeBSD-src-ead010a7f987fc2d4098667e415b51ac41289cd0.tar.gz
Regenerate the system call table.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/cloudabi64/cloudabi64_proto.h16
-rw-r--r--sys/compat/cloudabi64/cloudabi64_syscall.h5
-rw-r--r--sys/compat/cloudabi64/cloudabi64_syscalls.c3
-rw-r--r--sys/compat/cloudabi64/cloudabi64_sysent.c3
-rw-r--r--sys/compat/cloudabi64/cloudabi64_systrace_args.c62
5 files changed, 67 insertions, 22 deletions
diff --git a/sys/compat/cloudabi64/cloudabi64_proto.h b/sys/compat/cloudabi64/cloudabi64_proto.h
index dd86bc9..8c65fe3 100644
--- a/sys/compat/cloudabi64/cloudabi64_proto.h
+++ b/sys/compat/cloudabi64/cloudabi64_proto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 285906 2015-07-27 10:04:06Z ed
+ * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 286318 2015-08-05 13:09:46Z ed
*/
#ifndef _CLOUDABI64_SYSPROTO_H_
@@ -232,11 +232,9 @@ struct cloudabi_sys_mem_unmap_args {
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
};
struct cloudabi64_sys_poll_args {
- char fd_l_[PADL_(cloudabi_fd_t)]; cloudabi_fd_t fd; char fd_r_[PADR_(cloudabi_fd_t)];
char in_l_[PADL_(const cloudabi64_subscription_t *)]; const cloudabi64_subscription_t * in; char in_r_[PADR_(const cloudabi64_subscription_t *)];
- char nin_l_[PADL_(cloudabi64_size_t)]; cloudabi64_size_t nin; char nin_r_[PADR_(cloudabi64_size_t)];
char out_l_[PADL_(cloudabi64_event_t *)]; cloudabi64_event_t * out; char out_r_[PADR_(cloudabi64_event_t *)];
- char nout_l_[PADL_(cloudabi64_size_t)]; cloudabi64_size_t nout; char nout_r_[PADR_(cloudabi64_size_t)];
+ char nevents_l_[PADL_(cloudabi64_size_t)]; cloudabi64_size_t nevents; char nevents_r_[PADR_(cloudabi64_size_t)];
};
struct cloudabi_sys_proc_exec_args {
char fd_l_[PADL_(cloudabi_fd_t)]; cloudabi_fd_t fd; char fd_r_[PADR_(cloudabi_fd_t)];
@@ -310,6 +308,14 @@ struct cloudabi_sys_thread_tcb_set_args {
struct cloudabi_sys_thread_yield_args {
register_t dummy;
};
+struct cloudabi64_sys_poll_fd_args {
+ char fd_l_[PADL_(cloudabi_fd_t)]; cloudabi_fd_t fd; char fd_r_[PADR_(cloudabi_fd_t)];
+ char in_l_[PADL_(const cloudabi64_subscription_t *)]; const cloudabi64_subscription_t * in; char in_r_[PADR_(const cloudabi64_subscription_t *)];
+ char nin_l_[PADL_(cloudabi64_size_t)]; cloudabi64_size_t nin; char nin_r_[PADR_(cloudabi64_size_t)];
+ char out_l_[PADL_(cloudabi64_event_t *)]; cloudabi64_event_t * out; char out_r_[PADR_(cloudabi64_event_t *)];
+ char nout_l_[PADL_(cloudabi64_size_t)]; cloudabi64_size_t nout; char nout_r_[PADR_(cloudabi64_size_t)];
+ char timeout_l_[PADL_(const cloudabi64_subscription_t *)]; const cloudabi64_subscription_t * timeout; char timeout_r_[PADR_(const cloudabi64_subscription_t *)];
+};
int cloudabi_sys_clock_res_get(struct thread *, struct cloudabi_sys_clock_res_get_args *);
int cloudabi_sys_clock_time_get(struct thread *, struct cloudabi_sys_clock_time_get_args *);
int cloudabi_sys_condvar_signal(struct thread *, struct cloudabi_sys_condvar_signal_args *);
@@ -367,6 +373,7 @@ int cloudabi64_sys_thread_create(struct thread *, struct cloudabi64_sys_thread_c
int cloudabi_sys_thread_exit(struct thread *, struct cloudabi_sys_thread_exit_args *);
int cloudabi_sys_thread_tcb_set(struct thread *, struct cloudabi_sys_thread_tcb_set_args *);
int cloudabi_sys_thread_yield(struct thread *, struct cloudabi_sys_thread_yield_args *);
+int cloudabi64_sys_poll_fd(struct thread *, struct cloudabi64_sys_poll_fd_args *);
#ifdef COMPAT_43
@@ -448,6 +455,7 @@ int cloudabi_sys_thread_yield(struct thread *, struct cloudabi_sys_thread_yield_
#define CLOUDABI64_SYS_AUE_cloudabi_sys_thread_exit AUE_NULL
#define CLOUDABI64_SYS_AUE_cloudabi_sys_thread_tcb_set AUE_NULL
#define CLOUDABI64_SYS_AUE_cloudabi_sys_thread_yield AUE_NULL
+#define CLOUDABI64_SYS_AUE_cloudabi64_sys_poll_fd AUE_NULL
#undef PAD_
#undef PADL_
diff --git a/sys/compat/cloudabi64/cloudabi64_syscall.h b/sys/compat/cloudabi64/cloudabi64_syscall.h
index 1765190..40c017a 100644
--- a/sys/compat/cloudabi64/cloudabi64_syscall.h
+++ b/sys/compat/cloudabi64/cloudabi64_syscall.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 285906 2015-07-27 10:04:06Z ed
+ * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 286318 2015-08-05 13:09:46Z ed
*/
#define CLOUDABI64_SYS_cloudabi_sys_clock_res_get 0
@@ -63,4 +63,5 @@
#define CLOUDABI64_SYS_cloudabi_sys_thread_exit 54
#define CLOUDABI64_SYS_cloudabi_sys_thread_tcb_set 55
#define CLOUDABI64_SYS_cloudabi_sys_thread_yield 56
-#define CLOUDABI64_SYS_MAXSYSCALL 57
+#define CLOUDABI64_SYS_cloudabi64_sys_poll_fd 57
+#define CLOUDABI64_SYS_MAXSYSCALL 58
diff --git a/sys/compat/cloudabi64/cloudabi64_syscalls.c b/sys/compat/cloudabi64/cloudabi64_syscalls.c
index e44e6ea..5c0732b 100644
--- a/sys/compat/cloudabi64/cloudabi64_syscalls.c
+++ b/sys/compat/cloudabi64/cloudabi64_syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 285906 2015-07-27 10:04:06Z ed
+ * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 286318 2015-08-05 13:09:46Z ed
*/
const char *cloudabi64_syscallnames[] = {
@@ -64,4 +64,5 @@ const char *cloudabi64_syscallnames[] = {
"cloudabi_sys_thread_exit", /* 54 = cloudabi_sys_thread_exit */
"cloudabi_sys_thread_tcb_set", /* 55 = cloudabi_sys_thread_tcb_set */
"cloudabi_sys_thread_yield", /* 56 = cloudabi_sys_thread_yield */
+ "cloudabi64_sys_poll_fd", /* 57 = cloudabi64_sys_poll_fd */
};
diff --git a/sys/compat/cloudabi64/cloudabi64_sysent.c b/sys/compat/cloudabi64/cloudabi64_sysent.c
index 1048e4e..2ed5042 100644
--- a/sys/compat/cloudabi64/cloudabi64_sysent.c
+++ b/sys/compat/cloudabi64/cloudabi64_sysent.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 285906 2015-07-27 10:04:06Z ed
+ * created from FreeBSD: head/sys/compat/cloudabi64/syscalls.master 286318 2015-08-05 13:09:46Z ed
*/
#include <sys/sysent.h>
@@ -72,4 +72,5 @@ struct sysent cloudabi64_sysent[] = {
{ AS(cloudabi_sys_thread_exit_args), (sy_call_t *)cloudabi_sys_thread_exit, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 54 = cloudabi_sys_thread_exit */
{ AS(cloudabi_sys_thread_tcb_set_args), (sy_call_t *)cloudabi_sys_thread_tcb_set, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 55 = cloudabi_sys_thread_tcb_set */
{ 0, (sy_call_t *)cloudabi_sys_thread_yield, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 56 = cloudabi_sys_thread_yield */
+ { AS(cloudabi64_sys_poll_fd_args), (sy_call_t *)cloudabi64_sys_poll_fd, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 57 = cloudabi64_sys_poll_fd */
};
diff --git a/sys/compat/cloudabi64/cloudabi64_systrace_args.c b/sys/compat/cloudabi64/cloudabi64_systrace_args.c
index 311a14c..b3176aa 100644
--- a/sys/compat/cloudabi64/cloudabi64_systrace_args.c
+++ b/sys/compat/cloudabi64/cloudabi64_systrace_args.c
@@ -367,12 +367,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
/* cloudabi64_sys_poll */
case 39: {
struct cloudabi64_sys_poll_args *p = params;
- iarg[0] = p->fd; /* cloudabi_fd_t */
- uarg[1] = (intptr_t) p->in; /* const cloudabi64_subscription_t * */
- iarg[2] = p->nin; /* cloudabi64_size_t */
- uarg[3] = (intptr_t) p->out; /* cloudabi64_event_t * */
- iarg[4] = p->nout; /* cloudabi64_size_t */
- *n_args = 5;
+ uarg[0] = (intptr_t) p->in; /* const cloudabi64_subscription_t * */
+ uarg[1] = (intptr_t) p->out; /* cloudabi64_event_t * */
+ iarg[2] = p->nevents; /* cloudabi64_size_t */
+ *n_args = 3;
break;
}
/* cloudabi_sys_proc_exec */
@@ -511,6 +509,18 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 0;
break;
}
+ /* cloudabi64_sys_poll_fd */
+ case 57: {
+ struct cloudabi64_sys_poll_fd_args *p = params;
+ iarg[0] = p->fd; /* cloudabi_fd_t */
+ uarg[1] = (intptr_t) p->in; /* const cloudabi64_subscription_t * */
+ iarg[2] = p->nin; /* cloudabi64_size_t */
+ uarg[3] = (intptr_t) p->out; /* cloudabi64_event_t * */
+ iarg[4] = p->nout; /* cloudabi64_size_t */
+ uarg[5] = (intptr_t) p->timeout; /* const cloudabi64_subscription_t * */
+ *n_args = 6;
+ break;
+ }
default:
*n_args = 0;
break;
@@ -1155,18 +1165,12 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 39:
switch(ndx) {
case 0:
- p = "cloudabi_fd_t";
- break;
- case 1:
p = "const cloudabi64_subscription_t *";
break;
- case 2:
- p = "cloudabi64_size_t";
- break;
- case 3:
+ case 1:
p = "cloudabi64_event_t *";
break;
- case 4:
+ case 2:
p = "cloudabi64_size_t";
break;
default:
@@ -1392,6 +1396,31 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
/* cloudabi_sys_thread_yield */
case 56:
break;
+ /* cloudabi64_sys_poll_fd */
+ case 57:
+ switch(ndx) {
+ case 0:
+ p = "cloudabi_fd_t";
+ break;
+ case 1:
+ p = "const cloudabi64_subscription_t *";
+ break;
+ case 2:
+ p = "cloudabi64_size_t";
+ break;
+ case 3:
+ p = "cloudabi64_event_t *";
+ break;
+ case 4:
+ p = "cloudabi64_size_t";
+ break;
+ case 5:
+ p = "const cloudabi64_subscription_t *";
+ break;
+ default:
+ break;
+ };
+ break;
default:
break;
};
@@ -1682,6 +1711,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* cloudabi_sys_thread_yield */
case 56:
+ /* cloudabi64_sys_poll_fd */
+ case 57:
+ if (ndx == 0 || ndx == 1)
+ p = "cloudabi64_size_t";
+ break;
default:
break;
};
OpenPOWER on IntegriCloud