Regen for r274462.

This commit is contained in:
Dmitry Chagin 2014-11-13 05:28:06 +00:00
parent 186d9c3473
commit c28d9d0f9f
11 changed files with 103 additions and 12 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 274462 2014-11-13 05:26:14Z dchagin
*/
#ifndef _FREEBSD32_SYSPROTO_H_
@ -687,6 +687,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
@ -818,6 +824,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
@ -1232,6 +1239,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_

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 274462 2014-11-13 05:26:14Z dchagin
*/
#define FREEBSD32_SYS_syscall 0
@ -452,4 +452,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

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 274462 2014-11-13 05:26:14Z 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 */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 274462 2014-11-13 05:26:14Z 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 */
};

View File

@ -3299,6 +3299,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;
@ -8844,6 +8854,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;
};
@ -10717,6 +10746,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;
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/kern/syscalls.master 274462 2014-11-13 05:26:14Z dchagin
*/
#include "opt_compat.h"
@ -579,4 +579,5 @@ struct sysent sysent[] = {
{ AS(pipe2_args), (sy_call_t *)sys_pipe2, AUE_PIPE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 542 = pipe2 */
{ AS(aio_mlock_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 543 = aio_mlock */
{ AS(procctl_args), (sy_call_t *)sys_procctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 544 = procctl */
{ AS(ppoll_args), (sy_call_t *)sys_ppoll, AUE_POLL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 545 = ppoll */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/kern/syscalls.master 274462 2014-11-13 05:26:14Z dchagin
*/
const char *syscallnames[] = {
@ -552,4 +552,5 @@ const char *syscallnames[] = {
"pipe2", /* 542 = pipe2 */
"aio_mlock", /* 543 = aio_mlock */
"procctl", /* 544 = procctl */
"ppoll", /* 545 = ppoll */
};

View File

@ -3372,6 +3372,16 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 4;
break;
}
/* ppoll */
case 545: {
struct 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 timespec * */
uarg[3] = (intptr_t) p->set; /* const sigset_t * */
*n_args = 4;
break;
}
default:
*n_args = 0;
break;
@ -8990,6 +9000,25 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* ppoll */
case 545:
switch(ndx) {
case 0:
p = "struct pollfd *";
break;
case 1:
p = "u_int";
break;
case 2:
p = "const struct timespec *";
break;
case 3:
p = "const sigset_t *";
break;
default:
break;
};
break;
default:
break;
};
@ -10928,6 +10957,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* ppoll */
case 545:
if (ndx == 0 || ndx == 1)
p = "int";
break;
default:
break;
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/kern/syscalls.master 274462 2014-11-13 05:26:14Z dchagin
*/
#define SYS_syscall 0
@ -462,4 +462,5 @@
#define SYS_pipe2 542
#define SYS_aio_mlock 543
#define SYS_procctl 544
#define SYS_MAXSYSCALL 545
#define SYS_ppoll 545
#define SYS_MAXSYSCALL 546

View File

@ -1,7 +1,7 @@
# FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated.
# $FreeBSD$
# created from FreeBSD: head/sys/kern/syscalls.master 272823 2014-10-09 15:16:52Z marcel
# created from FreeBSD: head/sys/kern/syscalls.master 274462 2014-11-13 05:26:14Z dchagin
MIASM = \
syscall.o \
exit.o \
@ -409,4 +409,5 @@ MIASM = \
accept4.o \
pipe2.o \
aio_mlock.o \
procctl.o
procctl.o \
ppoll.o

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 272823 2014-10-09 15:16:52Z marcel
* created from FreeBSD: head/sys/kern/syscalls.master 274462 2014-11-13 05:26:14Z dchagin
*/
#ifndef _SYS_SYSPROTO_H_
@ -1813,6 +1813,12 @@ struct procctl_args {
char com_l_[PADL_(int)]; int com; char com_r_[PADR_(int)];
char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
};
struct 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 timespec *)]; const struct timespec * ts; char ts_r_[PADR_(const struct timespec *)];
char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
};
int nosys(struct thread *, struct nosys_args *);
void sys_sys_exit(struct thread *, struct sys_exit_args *);
int sys_fork(struct thread *, struct fork_args *);
@ -2204,6 +2210,7 @@ int sys_accept4(struct thread *, struct accept4_args *);
int sys_pipe2(struct thread *, struct pipe2_args *);
int sys_aio_mlock(struct thread *, struct aio_mlock_args *);
int sys_procctl(struct thread *, struct procctl_args *);
int sys_ppoll(struct thread *, struct ppoll_args *);
#ifdef COMPAT_43
@ -2909,6 +2916,7 @@ int freebsd7_shmctl(struct thread *, struct freebsd7_shmctl_args *);
#define SYS_AUE_pipe2 AUE_PIPE
#define SYS_AUE_aio_mlock AUE_NULL
#define SYS_AUE_procctl AUE_NULL
#define SYS_AUE_ppoll AUE_POLL
#undef PAD_
#undef PADL_