summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2014-12-21 08:00:38 +0000
committerdchagin <dchagin@FreeBSD.org>2014-12-21 08:00:38 +0000
commit1a3934911c5c7b282bc36336bafe16e321f63922 (patch)
tree089b0eccd79907a0a667c314e824af660d40bd9d /sys/compat
parentdfe2ad4d4623524826fd780517aa15fdc759a1da (diff)
downloadFreeBSD-src-1a3934911c5c7b282bc36336bafe16e321f63922.zip
FreeBSD-src-1a3934911c5c7b282bc36336bafe16e321f63922.tar.gz
Regen for r275986 (ppoll).
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/freebsd32_proto.h10
-rw-r--r--sys/compat/freebsd32/freebsd32_syscall.h5
-rw-r--r--sys/compat/freebsd32/freebsd32_syscalls.c3
-rw-r--r--sys/compat/freebsd32/freebsd32_sysent.c3
-rw-r--r--sys/compat/freebsd32/freebsd32_systrace_args.c34
5 files changed, 50 insertions, 5 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h
index 602dd42..5dddbc3 100644
--- a/sys/compat/freebsd32/freebsd32_proto.h
+++ b/sys/compat/freebsd32/freebsd32_proto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin
*/
#ifndef _FREEBSD32_SYSPROTO_H_
@@ -693,6 +693,12 @@ struct freebsd32_procctl_args {
char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
};
#endif
+struct freebsd32_ppoll_args {
+ char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
+ char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
+ char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)];
+ char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
+};
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#define PAD64_REQUIRED
#endif
@@ -826,6 +832,7 @@ int freebsd32_procctl(struct thread *, struct freebsd32_procctl_args *);
#else
int freebsd32_procctl(struct thread *, struct freebsd32_procctl_args *);
#endif
+int freebsd32_ppoll(struct thread *, struct freebsd32_ppoll_args *);
#ifdef COMPAT_43
@@ -1242,6 +1249,7 @@ int freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_
#define FREEBSD32_SYS_AUE_freebsd32_aio_mlock AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_procctl AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_procctl AUE_NULL
+#define FREEBSD32_SYS_AUE_freebsd32_ppoll AUE_POLL
#undef PAD_
#undef PADL_
diff --git a/sys/compat/freebsd32/freebsd32_syscall.h b/sys/compat/freebsd32/freebsd32_syscall.h
index ce624ba..028d242 100644
--- a/sys/compat/freebsd32/freebsd32_syscall.h
+++ b/sys/compat/freebsd32/freebsd32_syscall.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin
*/
#define FREEBSD32_SYS_syscall 0
@@ -454,4 +454,5 @@
#define FREEBSD32_SYS_freebsd32_aio_mlock 543
#define FREEBSD32_SYS_freebsd32_procctl 544
#define FREEBSD32_SYS_freebsd32_procctl 544
-#define FREEBSD32_SYS_MAXSYSCALL 545
+#define FREEBSD32_SYS_freebsd32_ppoll 545
+#define FREEBSD32_SYS_MAXSYSCALL 546
diff --git a/sys/compat/freebsd32/freebsd32_syscalls.c b/sys/compat/freebsd32/freebsd32_syscalls.c
index f47e9a6..134467b 100644
--- a/sys/compat/freebsd32/freebsd32_syscalls.c
+++ b/sys/compat/freebsd32/freebsd32_syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin
*/
const char *freebsd32_syscallnames[] = {
@@ -578,4 +578,5 @@ const char *freebsd32_syscallnames[] = {
#else
"freebsd32_procctl", /* 544 = freebsd32_procctl */
#endif
+ "freebsd32_ppoll", /* 545 = freebsd32_ppoll */
};
diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c
index 0783f67..7d5cb63 100644
--- a/sys/compat/freebsd32/freebsd32_sysent.c
+++ b/sys/compat/freebsd32/freebsd32_sysent.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin
*/
#include "opt_compat.h"
@@ -615,4 +615,5 @@ struct sysent freebsd32_sysent[] = {
#else
{ AS(freebsd32_procctl_args), (sy_call_t *)freebsd32_procctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 544 = freebsd32_procctl */
#endif
+ { AS(freebsd32_ppoll_args), (sy_call_t *)freebsd32_ppoll, AUE_POLL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 545 = freebsd32_ppoll */
};
diff --git a/sys/compat/freebsd32/freebsd32_systrace_args.c b/sys/compat/freebsd32/freebsd32_systrace_args.c
index b9c1570..3446d68 100644
--- a/sys/compat/freebsd32/freebsd32_systrace_args.c
+++ b/sys/compat/freebsd32/freebsd32_systrace_args.c
@@ -3313,6 +3313,16 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
break;
}
#endif
+ /* freebsd32_ppoll */
+ case 545: {
+ struct freebsd32_ppoll_args *p = params;
+ uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
+ uarg[1] = p->nfds; /* u_int */
+ uarg[2] = (intptr_t) p->ts; /* const struct timespec32 * */
+ uarg[3] = (intptr_t) p->set; /* const sigset_t * */
+ *n_args = 4;
+ break;
+ }
default:
*n_args = 0;
break;
@@ -8878,6 +8888,25 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
};
break;
#endif
+ /* freebsd32_ppoll */
+ case 545:
+ switch(ndx) {
+ case 0:
+ p = "struct pollfd *";
+ break;
+ case 1:
+ p = "u_int";
+ break;
+ case 2:
+ p = "const struct timespec32 *";
+ break;
+ case 3:
+ p = "const sigset_t *";
+ break;
+ default:
+ break;
+ };
+ break;
default:
break;
};
@@ -10761,6 +10790,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "int";
break;
#endif
+ /* freebsd32_ppoll */
+ case 545:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
default:
break;
};
OpenPOWER on IntegriCloud