Regenerate syscall files for r315526

Sponsored by:	Dell EMC
This commit is contained in:
Eric van Gyzen 2017-03-19 00:54:24 +00:00
parent 3f8455b090
commit 26f86ab732
11 changed files with 91 additions and 4 deletions

View File

@ -235,6 +235,12 @@ struct freebsd32_nanosleep_args {
char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)]; 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 *)]; char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)];
}; };
struct freebsd32_clock_nanosleep_args {
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
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 *)];
};
struct freebsd32_clock_getcpuclockid2_args { struct freebsd32_clock_getcpuclockid2_args {
char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
@ -727,6 +733,7 @@ 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_settime(struct thread *, struct freebsd32_ktimer_settime_args *);
int freebsd32_ktimer_gettime(struct thread *, struct freebsd32_ktimer_gettime_args *); int freebsd32_ktimer_gettime(struct thread *, struct freebsd32_ktimer_gettime_args *);
int freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *); int freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
int freebsd32_clock_nanosleep(struct thread *, struct freebsd32_clock_nanosleep_args *);
int freebsd32_clock_getcpuclockid2(struct thread *, struct freebsd32_clock_getcpuclockid2_args *); int freebsd32_clock_getcpuclockid2(struct thread *, struct freebsd32_clock_getcpuclockid2_args *);
int freebsd32_aio_read(struct thread *, struct freebsd32_aio_read_args *); int freebsd32_aio_read(struct thread *, struct freebsd32_aio_read_args *);
int freebsd32_aio_write(struct thread *, struct freebsd32_aio_write_args *); int freebsd32_aio_write(struct thread *, struct freebsd32_aio_write_args *);
@ -1185,6 +1192,7 @@ int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_ar
#define FREEBSD32_SYS_AUE_freebsd32_ktimer_settime 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_ktimer_gettime AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_nanosleep AUE_NULL #define FREEBSD32_SYS_AUE_freebsd32_nanosleep AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_clock_nanosleep AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_clock_getcpuclockid2 AUE_NULL #define FREEBSD32_SYS_AUE_freebsd32_clock_getcpuclockid2 AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_aio_read AUE_NULL #define FREEBSD32_SYS_AUE_freebsd32_aio_read AUE_NULL
#define FREEBSD32_SYS_AUE_freebsd32_aio_write AUE_NULL #define FREEBSD32_SYS_AUE_freebsd32_aio_write AUE_NULL

View File

@ -214,6 +214,7 @@
#define FREEBSD32_SYS_ffclock_getcounter 241 #define FREEBSD32_SYS_ffclock_getcounter 241
#define FREEBSD32_SYS_ffclock_setestimate 242 #define FREEBSD32_SYS_ffclock_setestimate 242
#define FREEBSD32_SYS_ffclock_getestimate 243 #define FREEBSD32_SYS_ffclock_getestimate 243
#define FREEBSD32_SYS_freebsd32_clock_nanosleep 244
#define FREEBSD32_SYS_freebsd32_clock_getcpuclockid2 247 #define FREEBSD32_SYS_freebsd32_clock_getcpuclockid2 247
#define FREEBSD32_SYS_minherit 250 #define FREEBSD32_SYS_minherit 250
#define FREEBSD32_SYS_rfork 251 #define FREEBSD32_SYS_rfork 251

View File

@ -253,7 +253,7 @@ const char *freebsd32_syscallnames[] = {
"ffclock_getcounter", /* 241 = ffclock_getcounter */ "ffclock_getcounter", /* 241 = ffclock_getcounter */
"ffclock_setestimate", /* 242 = ffclock_setestimate */ "ffclock_setestimate", /* 242 = ffclock_setestimate */
"ffclock_getestimate", /* 243 = ffclock_getestimate */ "ffclock_getestimate", /* 243 = ffclock_getestimate */
"#244", /* 244 = nosys */ "freebsd32_clock_nanosleep", /* 244 = freebsd32_clock_nanosleep */
"#245", /* 245 = nosys */ "#245", /* 245 = nosys */
"#246", /* 246 = nosys */ "#246", /* 246 = nosys */
"freebsd32_clock_getcpuclockid2", /* 247 = freebsd32_clock_getcpuclockid2 */ "freebsd32_clock_getcpuclockid2", /* 247 = freebsd32_clock_getcpuclockid2 */

View File

@ -296,7 +296,7 @@ struct sysent freebsd32_sysent[] = {
{ AS(ffclock_getcounter_args), (sy_call_t *)sys_ffclock_getcounter, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 241 = ffclock_getcounter */ { 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 */ { AS(ffclock_setestimate_args), (sy_call_t *)sys_ffclock_setestimate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 242 = ffclock_setestimate */
{ AS(ffclock_getestimate_args), (sy_call_t *)sys_ffclock_getestimate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 243 = ffclock_getestimate */ { AS(ffclock_getestimate_args), (sy_call_t *)sys_ffclock_getestimate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 243 = ffclock_getestimate */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 244 = nosys */ { AS(freebsd32_clock_nanosleep_args), (sy_call_t *)freebsd32_clock_nanosleep, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 244 = freebsd32_clock_nanosleep */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 245 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 245 = nosys */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 246 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 246 = nosys */
{ AS(freebsd32_clock_getcpuclockid2_args), (sy_call_t *)freebsd32_clock_getcpuclockid2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 247 = freebsd32_clock_getcpuclockid2 */ { AS(freebsd32_clock_getcpuclockid2_args), (sy_call_t *)freebsd32_clock_getcpuclockid2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 247 = freebsd32_clock_getcpuclockid2 */

View File

@ -1260,6 +1260,16 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 1; *n_args = 1;
break; break;
} }
/* freebsd32_clock_nanosleep */
case 244: {
struct freebsd32_clock_nanosleep_args *p = params;
iarg[0] = p->clock_id; /* clockid_t */
iarg[1] = p->flags; /* int */
uarg[2] = (intptr_t) p->rqtp; /* const struct timespec32 * */
uarg[3] = (intptr_t) p->rmtp; /* struct timespec32 * */
*n_args = 4;
break;
}
/* freebsd32_clock_getcpuclockid2 */ /* freebsd32_clock_getcpuclockid2 */
case 247: { case 247: {
struct freebsd32_clock_getcpuclockid2_args *p = params; struct freebsd32_clock_getcpuclockid2_args *p = params;
@ -5303,6 +5313,25 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break; break;
}; };
break; break;
/* freebsd32_clock_nanosleep */
case 244:
switch(ndx) {
case 0:
p = "clockid_t";
break;
case 1:
p = "int";
break;
case 2:
p = "userland const struct timespec32 *";
break;
case 3:
p = "userland struct timespec32 *";
break;
default:
break;
};
break;
/* freebsd32_clock_getcpuclockid2 */ /* freebsd32_clock_getcpuclockid2 */
case 247: case 247:
switch(ndx) { switch(ndx) {
@ -9626,6 +9655,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1) if (ndx == 0 || ndx == 1)
p = "int"; p = "int";
break; break;
/* freebsd32_clock_nanosleep */
case 244:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* freebsd32_clock_getcpuclockid2 */ /* freebsd32_clock_getcpuclockid2 */
case 247: case 247:
if (ndx == 0 || ndx == 1) if (ndx == 0 || ndx == 1)

View File

@ -289,7 +289,7 @@ struct sysent sysent[] = {
{ AS(ffclock_getcounter_args), (sy_call_t *)sys_ffclock_getcounter, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 241 = ffclock_getcounter */ { 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 */ { AS(ffclock_setestimate_args), (sy_call_t *)sys_ffclock_setestimate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 242 = ffclock_setestimate */
{ AS(ffclock_getestimate_args), (sy_call_t *)sys_ffclock_getestimate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 243 = ffclock_getestimate */ { AS(ffclock_getestimate_args), (sy_call_t *)sys_ffclock_getestimate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 243 = ffclock_getestimate */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 244 = nosys */ { AS(clock_nanosleep_args), (sy_call_t *)sys_clock_nanosleep, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 244 = clock_nanosleep */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 245 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 245 = nosys */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 246 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 246 = nosys */
{ AS(clock_getcpuclockid2_args), (sy_call_t *)sys_clock_getcpuclockid2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 247 = clock_getcpuclockid2 */ { AS(clock_getcpuclockid2_args), (sy_call_t *)sys_clock_getcpuclockid2, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 247 = clock_getcpuclockid2 */

View File

@ -250,7 +250,7 @@ const char *syscallnames[] = {
"ffclock_getcounter", /* 241 = ffclock_getcounter */ "ffclock_getcounter", /* 241 = ffclock_getcounter */
"ffclock_setestimate", /* 242 = ffclock_setestimate */ "ffclock_setestimate", /* 242 = ffclock_setestimate */
"ffclock_getestimate", /* 243 = ffclock_getestimate */ "ffclock_getestimate", /* 243 = ffclock_getestimate */
"#244", /* 244 = nosys */ "clock_nanosleep", /* 244 = clock_nanosleep */
"#245", /* 245 = nosys */ "#245", /* 245 = nosys */
"#246", /* 246 = nosys */ "#246", /* 246 = nosys */
"clock_getcpuclockid2", /* 247 = clock_getcpuclockid2 */ "clock_getcpuclockid2", /* 247 = clock_getcpuclockid2 */

View File

@ -1290,6 +1290,16 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 1; *n_args = 1;
break; break;
} }
/* clock_nanosleep */
case 244: {
struct clock_nanosleep_args *p = params;
iarg[0] = p->clock_id; /* clockid_t */
iarg[1] = p->flags; /* int */
uarg[2] = (intptr_t) p->rqtp; /* const struct timespec * */
uarg[3] = (intptr_t) p->rmtp; /* struct timespec * */
*n_args = 4;
break;
}
/* clock_getcpuclockid2 */ /* clock_getcpuclockid2 */
case 247: { case 247: {
struct clock_getcpuclockid2_args *p = params; struct clock_getcpuclockid2_args *p = params;
@ -5365,6 +5375,25 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break; break;
}; };
break; break;
/* clock_nanosleep */
case 244:
switch(ndx) {
case 0:
p = "clockid_t";
break;
case 1:
p = "int";
break;
case 2:
p = "userland const struct timespec *";
break;
case 3:
p = "userland struct timespec *";
break;
default:
break;
};
break;
/* clock_getcpuclockid2 */ /* clock_getcpuclockid2 */
case 247: case 247:
switch(ndx) { switch(ndx) {
@ -9603,6 +9632,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1) if (ndx == 0 || ndx == 1)
p = "int"; p = "int";
break; break;
/* clock_nanosleep */
case 244:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* clock_getcpuclockid2 */ /* clock_getcpuclockid2 */
case 247: case 247:
if (ndx == 0 || ndx == 1) if (ndx == 0 || ndx == 1)

View File

@ -218,6 +218,7 @@
#define SYS_ffclock_getcounter 241 #define SYS_ffclock_getcounter 241
#define SYS_ffclock_setestimate 242 #define SYS_ffclock_setestimate 242
#define SYS_ffclock_getestimate 243 #define SYS_ffclock_getestimate 243
#define SYS_clock_nanosleep 244
#define SYS_clock_getcpuclockid2 247 #define SYS_clock_getcpuclockid2 247
#define SYS_ntp_gettime 248 #define SYS_ntp_gettime 248
#define SYS_minherit 250 #define SYS_minherit 250

View File

@ -158,6 +158,7 @@ MIASM = \
ffclock_getcounter.o \ ffclock_getcounter.o \
ffclock_setestimate.o \ ffclock_setestimate.o \
ffclock_getestimate.o \ ffclock_getestimate.o \
clock_nanosleep.o \
clock_getcpuclockid2.o \ clock_getcpuclockid2.o \
ntp_gettime.o \ ntp_gettime.o \
minherit.o \ minherit.o \

View File

@ -697,6 +697,12 @@ struct ffclock_setestimate_args {
struct ffclock_getestimate_args { struct ffclock_getestimate_args {
char cest_l_[PADL_(struct ffclock_estimate *)]; struct ffclock_estimate * cest; char cest_r_[PADR_(struct ffclock_estimate *)]; char cest_l_[PADL_(struct ffclock_estimate *)]; struct ffclock_estimate * cest; char cest_r_[PADR_(struct ffclock_estimate *)];
}; };
struct clock_nanosleep_args {
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
char rqtp_l_[PADL_(const struct timespec *)]; const struct timespec * rqtp; char rqtp_r_[PADR_(const struct timespec *)];
char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)];
};
struct clock_getcpuclockid2_args { struct clock_getcpuclockid2_args {
char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)]; char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)];
char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
@ -1936,6 +1942,7 @@ int sys_nanosleep(struct thread *, struct nanosleep_args *);
int sys_ffclock_getcounter(struct thread *, struct ffclock_getcounter_args *); int sys_ffclock_getcounter(struct thread *, struct ffclock_getcounter_args *);
int sys_ffclock_setestimate(struct thread *, struct ffclock_setestimate_args *); int sys_ffclock_setestimate(struct thread *, struct ffclock_setestimate_args *);
int sys_ffclock_getestimate(struct thread *, struct ffclock_getestimate_args *); int sys_ffclock_getestimate(struct thread *, struct ffclock_getestimate_args *);
int sys_clock_nanosleep(struct thread *, struct clock_nanosleep_args *);
int sys_clock_getcpuclockid2(struct thread *, struct clock_getcpuclockid2_args *); int sys_clock_getcpuclockid2(struct thread *, struct clock_getcpuclockid2_args *);
int sys_ntp_gettime(struct thread *, struct ntp_gettime_args *); int sys_ntp_gettime(struct thread *, struct ntp_gettime_args *);
int sys_minherit(struct thread *, struct minherit_args *); int sys_minherit(struct thread *, struct minherit_args *);
@ -2706,6 +2713,7 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
#define SYS_AUE_ffclock_getcounter AUE_NULL #define SYS_AUE_ffclock_getcounter AUE_NULL
#define SYS_AUE_ffclock_setestimate AUE_NULL #define SYS_AUE_ffclock_setestimate AUE_NULL
#define SYS_AUE_ffclock_getestimate AUE_NULL #define SYS_AUE_ffclock_getestimate AUE_NULL
#define SYS_AUE_clock_nanosleep AUE_NULL
#define SYS_AUE_clock_getcpuclockid2 AUE_NULL #define SYS_AUE_clock_getcpuclockid2 AUE_NULL
#define SYS_AUE_ntp_gettime AUE_NULL #define SYS_AUE_ntp_gettime AUE_NULL
#define SYS_AUE_minherit AUE_MINHERIT #define SYS_AUE_minherit AUE_MINHERIT