1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Regenerate.

This commit is contained in:
Konstantin Belousov 2013-07-21 19:44:53 +00:00
parent 643ee87175
commit 68044954d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253531
5 changed files with 192 additions and 26 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 253494 2013-07-20 13:39:41Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
*/
#ifndef _FREEBSD32_SYSPROTO_H_
@ -208,6 +208,21 @@ struct freebsd32_clock_getres_args {
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
};
struct freebsd32_ktimer_create_args {
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
char evp_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * evp; char evp_r_[PADR_(struct sigevent32 *)];
char timerid_l_[PADL_(int *)]; int * timerid; char timerid_r_[PADR_(int *)];
};
struct freebsd32_ktimer_settime_args {
char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)];
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
char value_l_[PADL_(const struct itimerspec32 *)]; const struct itimerspec32 * value; char value_r_[PADR_(const struct itimerspec32 *)];
char ovalue_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * ovalue; char ovalue_r_[PADR_(struct itimerspec32 *)];
};
struct freebsd32_ktimer_gettime_args {
char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)];
char value_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * value; char value_r_[PADR_(struct itimerspec32 *)];
};
struct freebsd32_nanosleep_args {
char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)];
char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)];
@ -228,7 +243,7 @@ struct freebsd32_lio_listio_args {
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
char acb_list_l_[PADL_(struct aiocb32 *const *)]; struct aiocb32 *const * acb_list; char acb_list_r_[PADR_(struct aiocb32 *const *)];
char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)];
char sig_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * sig; char sig_r_[PADR_(struct sigevent32 *)];
};
struct freebsd32_lutimes_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
@ -400,6 +415,10 @@ struct freebsd32_kmq_timedsend_args {
char msg_prio_l_[PADL_(unsigned)]; unsigned msg_prio; char msg_prio_r_[PADR_(unsigned)];
char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)];
};
struct freebsd32_kmq_notify_args {
char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
char sigev_l_[PADL_(const struct sigevent32 *)]; const struct sigevent32 * sigev; char sigev_r_[PADR_(const struct sigevent32 *)];
};
struct freebsd32_aio_fsync_args {
char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
@ -673,6 +692,9 @@ int freebsd32_msgrcv(struct thread *, struct freebsd32_msgrcv_args *);
int freebsd32_clock_gettime(struct thread *, struct freebsd32_clock_gettime_args *);
int freebsd32_clock_settime(struct thread *, struct freebsd32_clock_settime_args *);
int freebsd32_clock_getres(struct thread *, struct freebsd32_clock_getres_args *);
int freebsd32_ktimer_create(struct thread *, struct freebsd32_ktimer_create_args *);
int freebsd32_ktimer_settime(struct thread *, struct freebsd32_ktimer_settime_args *);
int freebsd32_ktimer_gettime(struct thread *, struct freebsd32_ktimer_gettime_args *);
int freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
int freebsd32_clock_getcpuclockid2(struct thread *, struct freebsd32_clock_getcpuclockid2_args *);
int freebsd32_aio_read(struct thread *, struct freebsd32_aio_read_args *);
@ -714,6 +736,7 @@ int freebsd32_kmq_open(struct thread *, struct freebsd32_kmq_open_args *);
int freebsd32_kmq_setattr(struct thread *, struct freebsd32_kmq_setattr_args *);
int freebsd32_kmq_timedreceive(struct thread *, struct freebsd32_kmq_timedreceive_args *);
int freebsd32_kmq_timedsend(struct thread *, struct freebsd32_kmq_timedsend_args *);
int freebsd32_kmq_notify(struct thread *, struct freebsd32_kmq_notify_args *);
int freebsd32_aio_fsync(struct thread *, struct freebsd32_aio_fsync_args *);
#ifdef PAD64_REQUIRED
int freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
@ -1072,6 +1095,9 @@ int freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_
#define FREEBSD32_SYS_AUE_freebsd32_clock_gettime AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_clock_settime AUE_CLOCK_SETTIME
#define FREEBSD32_SYS_AUE_freebsd32_clock_getres AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_ktimer_create AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_ktimer_settime AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_ktimer_gettime AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_nanosleep AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_clock_getcpuclockid2 AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_aio_read AUE_NULL
@ -1117,6 +1143,7 @@ int freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_
#define FREEBSD32_SYS_AUE_freebsd32_kmq_setattr AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_kmq_timedreceive AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_kmq_timedsend AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_kmq_notify AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_aio_fsync AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_pread AUE_PREAD
#define FREEBSD32_SYS_AUE_freebsd32_pwrite AUE_PWRITE

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253494 2013-07-20 13:39:41Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
*/
#define FREEBSD32_SYS_syscall 0
@ -206,6 +206,11 @@
#define FREEBSD32_SYS_freebsd32_clock_gettime 232
#define FREEBSD32_SYS_freebsd32_clock_settime 233
#define FREEBSD32_SYS_freebsd32_clock_getres 234
#define FREEBSD32_SYS_freebsd32_ktimer_create 235
#define FREEBSD32_SYS_ktimer_delete 236
#define FREEBSD32_SYS_freebsd32_ktimer_settime 237
#define FREEBSD32_SYS_freebsd32_ktimer_gettime 238
#define FREEBSD32_SYS_ktimer_getoverrun 239
#define FREEBSD32_SYS_freebsd32_nanosleep 240
#define FREEBSD32_SYS_ffclock_getcounter 241
#define FREEBSD32_SYS_ffclock_setestimate 242
@ -360,7 +365,7 @@
#define FREEBSD32_SYS_freebsd32_kmq_setattr 458
#define FREEBSD32_SYS_freebsd32_kmq_timedreceive 459
#define FREEBSD32_SYS_freebsd32_kmq_timedsend 460
#define FREEBSD32_SYS_kmq_notify 461
#define FREEBSD32_SYS_freebsd32_kmq_notify 461
#define FREEBSD32_SYS_kmq_unlink 462
#define FREEBSD32_SYS_abort2 463
#define FREEBSD32_SYS_thr_set_name 464

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253494 2013-07-20 13:39:41Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
*/
const char *freebsd32_syscallnames[] = {
@ -245,11 +245,11 @@ const char *freebsd32_syscallnames[] = {
"freebsd32_clock_gettime", /* 232 = freebsd32_clock_gettime */
"freebsd32_clock_settime", /* 233 = freebsd32_clock_settime */
"freebsd32_clock_getres", /* 234 = freebsd32_clock_getres */
"#235", /* 235 = timer_create */
"#236", /* 236 = timer_delete */
"#237", /* 237 = timer_settime */
"#238", /* 238 = timer_gettime */
"#239", /* 239 = timer_getoverrun */
"freebsd32_ktimer_create", /* 235 = freebsd32_ktimer_create */
"ktimer_delete", /* 236 = ktimer_delete */
"freebsd32_ktimer_settime", /* 237 = freebsd32_ktimer_settime */
"freebsd32_ktimer_gettime", /* 238 = freebsd32_ktimer_gettime */
"ktimer_getoverrun", /* 239 = ktimer_getoverrun */
"freebsd32_nanosleep", /* 240 = freebsd32_nanosleep */
"ffclock_getcounter", /* 241 = ffclock_getcounter */
"ffclock_setestimate", /* 242 = ffclock_setestimate */
@ -471,7 +471,7 @@ const char *freebsd32_syscallnames[] = {
"freebsd32_kmq_setattr", /* 458 = freebsd32_kmq_setattr */
"freebsd32_kmq_timedreceive", /* 459 = freebsd32_kmq_timedreceive */
"freebsd32_kmq_timedsend", /* 460 = freebsd32_kmq_timedsend */
"kmq_notify", /* 461 = kmq_notify */
"freebsd32_kmq_notify", /* 461 = freebsd32_kmq_notify */
"kmq_unlink", /* 462 = kmq_unlink */
"abort2", /* 463 = abort2 */
"thr_set_name", /* 464 = thr_set_name */

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253494 2013-07-20 13:39:41Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
*/
#include "opt_compat.h"
@ -282,11 +282,11 @@ struct sysent freebsd32_sysent[] = {
{ AS(freebsd32_clock_gettime_args), (sy_call_t *)freebsd32_clock_gettime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 232 = freebsd32_clock_gettime */
{ AS(freebsd32_clock_settime_args), (sy_call_t *)freebsd32_clock_settime, AUE_CLOCK_SETTIME, NULL, 0, 0, 0, SY_THR_STATIC }, /* 233 = freebsd32_clock_settime */
{ AS(freebsd32_clock_getres_args), (sy_call_t *)freebsd32_clock_getres, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 234 = freebsd32_clock_getres */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 235 = timer_create */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 236 = timer_delete */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 237 = timer_settime */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 238 = timer_gettime */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 239 = timer_getoverrun */
{ AS(freebsd32_ktimer_create_args), (sy_call_t *)freebsd32_ktimer_create, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 235 = freebsd32_ktimer_create */
{ AS(ktimer_delete_args), (sy_call_t *)sys_ktimer_delete, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 236 = ktimer_delete */
{ AS(freebsd32_ktimer_settime_args), (sy_call_t *)freebsd32_ktimer_settime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 237 = freebsd32_ktimer_settime */
{ AS(freebsd32_ktimer_gettime_args), (sy_call_t *)freebsd32_ktimer_gettime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 238 = freebsd32_ktimer_gettime */
{ AS(ktimer_getoverrun_args), (sy_call_t *)sys_ktimer_getoverrun, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 239 = ktimer_getoverrun */
{ AS(freebsd32_nanosleep_args), (sy_call_t *)freebsd32_nanosleep, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 240 = freebsd32_nanosleep */
{ AS(ffclock_getcounter_args), (sy_call_t *)sys_ffclock_getcounter, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 241 = ffclock_getcounter */
{ AS(ffclock_setestimate_args), (sy_call_t *)sys_ffclock_setestimate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 242 = ffclock_setestimate */
@ -508,7 +508,7 @@ struct sysent freebsd32_sysent[] = {
{ AS(freebsd32_kmq_setattr_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 458 = freebsd32_kmq_setattr */
{ AS(freebsd32_kmq_timedreceive_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 459 = freebsd32_kmq_timedreceive */
{ AS(freebsd32_kmq_timedsend_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 460 = freebsd32_kmq_timedsend */
{ AS(kmq_notify_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 461 = kmq_notify */
{ AS(freebsd32_kmq_notify_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 461 = freebsd32_kmq_notify */
{ AS(kmq_unlink_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 462 = kmq_unlink */
{ AS(abort2_args), (sy_call_t *)sys_abort2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 463 = abort2 */
{ AS(thr_set_name_args), (sy_call_t *)sys_thr_set_name, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 464 = thr_set_name */

View File

@ -1195,6 +1195,47 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 2;
break;
}
/* freebsd32_ktimer_create */
case 235: {
struct freebsd32_ktimer_create_args *p = params;
iarg[0] = p->clock_id; /* clockid_t */
uarg[1] = (intptr_t) p->evp; /* struct sigevent32 * */
uarg[2] = (intptr_t) p->timerid; /* int * */
*n_args = 3;
break;
}
/* ktimer_delete */
case 236: {
struct ktimer_delete_args *p = params;
iarg[0] = p->timerid; /* int */
*n_args = 1;
break;
}
/* freebsd32_ktimer_settime */
case 237: {
struct freebsd32_ktimer_settime_args *p = params;
iarg[0] = p->timerid; /* int */
iarg[1] = p->flags; /* int */
uarg[2] = (intptr_t) p->value; /* const struct itimerspec32 * */
uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec32 * */
*n_args = 4;
break;
}
/* freebsd32_ktimer_gettime */
case 238: {
struct freebsd32_ktimer_gettime_args *p = params;
iarg[0] = p->timerid; /* int */
uarg[1] = (intptr_t) p->value; /* struct itimerspec32 * */
*n_args = 2;
break;
}
/* ktimer_getoverrun */
case 239: {
struct ktimer_getoverrun_args *p = params;
iarg[0] = p->timerid; /* int */
*n_args = 1;
break;
}
/* freebsd32_nanosleep */
case 240: {
struct freebsd32_nanosleep_args *p = params;
@ -1293,7 +1334,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
iarg[0] = p->mode; /* int */
uarg[1] = (intptr_t) p->acb_list; /* struct aiocb32 *const * */
iarg[2] = p->nent; /* int */
uarg[3] = (intptr_t) p->sig; /* struct sigevent * */
uarg[3] = (intptr_t) p->sig; /* struct sigevent32 * */
*n_args = 4;
break;
}
@ -2406,11 +2447,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 5;
break;
}
/* kmq_notify */
/* freebsd32_kmq_notify */
case 461: {
struct kmq_notify_args *p = params;
struct freebsd32_kmq_notify_args *p = params;
iarg[0] = p->mqd; /* int */
uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
uarg[1] = (intptr_t) p->sigev; /* const struct sigevent32 * */
*n_args = 2;
break;
}
@ -5110,6 +5151,74 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* freebsd32_ktimer_create */
case 235:
switch(ndx) {
case 0:
p = "clockid_t";
break;
case 1:
p = "struct sigevent32 *";
break;
case 2:
p = "int *";
break;
default:
break;
};
break;
/* ktimer_delete */
case 236:
switch(ndx) {
case 0:
p = "int";
break;
default:
break;
};
break;
/* freebsd32_ktimer_settime */
case 237:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "int";
break;
case 2:
p = "const struct itimerspec32 *";
break;
case 3:
p = "struct itimerspec32 *";
break;
default:
break;
};
break;
/* freebsd32_ktimer_gettime */
case 238:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "struct itimerspec32 *";
break;
default:
break;
};
break;
/* ktimer_getoverrun */
case 239:
switch(ndx) {
case 0:
p = "int";
break;
default:
break;
};
break;
/* freebsd32_nanosleep */
case 240:
switch(ndx) {
@ -5266,7 +5375,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "int";
break;
case 3:
p = "struct sigevent *";
p = "struct sigevent32 *";
break;
default:
break;
@ -7121,14 +7230,14 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* kmq_notify */
/* freebsd32_kmq_notify */
case 461:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "const struct sigevent *";
p = "const struct sigevent32 *";
break;
default:
break;
@ -9336,6 +9445,31 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* freebsd32_ktimer_create */
case 235:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* ktimer_delete */
case 236:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* freebsd32_ktimer_settime */
case 237:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* freebsd32_ktimer_gettime */
case 238:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* ktimer_getoverrun */
case 239:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* freebsd32_nanosleep */
case 240:
if (ndx == 0 || ndx == 1)
@ -10056,7 +10190,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* kmq_notify */
/* freebsd32_kmq_notify */
case 461:
if (ndx == 0 || ndx == 1)
p = "int";