Regen after r356229.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2019-12-31 16:01:37 +00:00
parent 87f4f61c1e
commit 0426ee90ee
6 changed files with 50 additions and 6 deletions

View File

@ -1035,7 +1035,9 @@ struct linux_move_pages_args {
register_t dummy;
};
struct linux_getcpu_args {
register_t dummy;
char cpu_l_[PADL_(l_uint *)]; l_uint * cpu; char cpu_r_[PADR_(l_uint *)];
char node_l_[PADL_(l_uint *)]; l_uint * node; char node_r_[PADR_(l_uint *)];
char cache_l_[PADL_(void *)]; void * cache; char cache_r_[PADR_(void *)];
};
struct linux_epoll_pwait_args {
char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)];

View File

@ -335,7 +335,7 @@ struct sysent linux32_sysent[] = {
{ 0, (sy_call_t *)linux_tee, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 315 = linux_tee */
{ 0, (sy_call_t *)linux_vmsplice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 316 = linux_vmsplice */
{ 0, (sy_call_t *)linux_move_pages, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 317 = linux_move_pages */
{ 0, (sy_call_t *)linux_getcpu, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 318 = linux_getcpu */
{ AS(linux_getcpu_args), (sy_call_t *)linux_getcpu, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 318 = linux_getcpu */
{ AS(linux_epoll_pwait_args), (sy_call_t *)linux_epoll_pwait, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 319 = linux_epoll_pwait */
{ AS(linux_utimensat_args), (sy_call_t *)linux_utimensat, AUE_FUTIMESAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 320 = linux_utimensat */
{ 0, (sy_call_t *)linux_signalfd, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 321 = linux_signalfd */

View File

@ -2143,7 +2143,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
}
/* linux_getcpu */
case 318: {
*n_args = 0;
struct linux_getcpu_args *p = params;
uarg[0] = (intptr_t) p->cpu; /* l_uint * */
uarg[1] = (intptr_t) p->node; /* l_uint * */
uarg[2] = (intptr_t) p->cache; /* void * */
*n_args = 3;
break;
}
/* linux_epoll_pwait */
@ -6197,6 +6201,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_getcpu */
case 318:
switch(ndx) {
case 0:
p = "userland l_uint *";
break;
case 1:
p = "userland l_uint *";
break;
case 2:
p = "userland void *";
break;
default:
break;
};
break;
/* linux_epoll_pwait */
case 319:
@ -8686,6 +8703,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 317:
/* linux_getcpu */
case 318:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_epoll_pwait */
case 319:
if (ndx == 0 || ndx == 1)

View File

@ -1053,7 +1053,9 @@ struct linux_move_pages_args {
register_t dummy;
};
struct linux_getcpu_args {
register_t dummy;
char cpu_l_[PADL_(l_uint *)]; l_uint * cpu; char cpu_r_[PADR_(l_uint *)];
char node_l_[PADL_(l_uint *)]; l_uint * node; char node_r_[PADR_(l_uint *)];
char cache_l_[PADL_(void *)]; void * cache; char cache_r_[PADR_(void *)];
};
struct linux_epoll_pwait_args {
char epfd_l_[PADL_(l_int)]; l_int epfd; char epfd_r_[PADR_(l_int)];

View File

@ -335,7 +335,7 @@ struct sysent linux_sysent[] = {
{ 0, (sy_call_t *)linux_tee, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 315 = linux_tee */
{ 0, (sy_call_t *)linux_vmsplice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 316 = linux_vmsplice */
{ 0, (sy_call_t *)linux_move_pages, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 317 = linux_move_pages */
{ 0, (sy_call_t *)linux_getcpu, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 318 = linux_getcpu */
{ AS(linux_getcpu_args), (sy_call_t *)linux_getcpu, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 318 = linux_getcpu */
{ AS(linux_epoll_pwait_args), (sy_call_t *)linux_epoll_pwait, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 319 = linux_epoll_pwait */
{ AS(linux_utimensat_args), (sy_call_t *)linux_utimensat, AUE_FUTIMESAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 320 = linux_utimensat */
{ 0, (sy_call_t *)linux_signalfd, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 321 = linux_signalfd */

View File

@ -2219,7 +2219,11 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
}
/* linux_getcpu */
case 318: {
*n_args = 0;
struct linux_getcpu_args *p = params;
uarg[0] = (intptr_t) p->cpu; /* l_uint * */
uarg[1] = (intptr_t) p->node; /* l_uint * */
uarg[2] = (intptr_t) p->cache; /* void * */
*n_args = 3;
break;
}
/* linux_epoll_pwait */
@ -6428,6 +6432,19 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
/* linux_getcpu */
case 318:
switch(ndx) {
case 0:
p = "userland l_uint *";
break;
case 1:
p = "userland l_uint *";
break;
case 2:
p = "userland void *";
break;
default:
break;
};
break;
/* linux_epoll_pwait */
case 319:
@ -8964,6 +8981,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 317:
/* linux_getcpu */
case 318:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* linux_epoll_pwait */
case 319:
if (ndx == 0 || ndx == 1)