Regen for ('187715a420237e1ed94dd5aef158eada7dcdc559') Linux
clock_getres_time64 system call. MFC after: 2 weeks
This commit is contained in:
parent
187715a420
commit
773d9153c3
@ -1530,7 +1530,8 @@ struct linux_clock_adjtime64_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_clock_getres_time64_args {
|
||||
register_t dummy;
|
||||
char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_nanosleep_time64_args {
|
||||
register_t dummy;
|
||||
|
@ -423,7 +423,7 @@ struct sysent linux32_sysent[] = {
|
||||
{ .sy_narg = AS(linux_clock_gettime64_args), .sy_call = (sy_call_t *)linux_clock_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 403 = linux_clock_gettime64 */
|
||||
{ .sy_narg = AS(linux_clock_settime64_args), .sy_call = (sy_call_t *)linux_clock_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 404 = linux_clock_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_adjtime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 405 = linux_clock_adjtime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_getres_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 406 = linux_clock_getres_time64 */
|
||||
{ .sy_narg = AS(linux_clock_getres_time64_args), .sy_call = (sy_call_t *)linux_clock_getres_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 406 = linux_clock_getres_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_nanosleep_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 407 = linux_clock_nanosleep_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timer_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 408 = linux_timer_gettime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timer_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 409 = linux_timer_settime64 */
|
||||
|
@ -2983,7 +2983,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clock_getres_time64 */
|
||||
case 406: {
|
||||
*n_args = 0;
|
||||
struct linux_clock_getres_time64_args *p = params;
|
||||
iarg[0] = p->which; /* clockid_t */
|
||||
uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
@ -8026,6 +8029,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_getres_time64 */
|
||||
case 406:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "clockid_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
@ -9815,6 +9828,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 405:
|
||||
/* linux_clock_getres_time64 */
|
||||
case 406:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
/* linux_timer_gettime64 */
|
||||
|
@ -1523,7 +1523,8 @@ struct linux_clock_adjtime64_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct linux_clock_getres_time64_args {
|
||||
register_t dummy;
|
||||
char which_l_[PADL_(clockid_t)]; clockid_t which; char which_r_[PADR_(clockid_t)];
|
||||
char tp_l_[PADL_(struct l_timespec64 *)]; struct l_timespec64 * tp; char tp_r_[PADR_(struct l_timespec64 *)];
|
||||
};
|
||||
struct linux_clock_nanosleep_time64_args {
|
||||
register_t dummy;
|
||||
|
@ -423,7 +423,7 @@ struct sysent linux_sysent[] = {
|
||||
{ .sy_narg = AS(linux_clock_gettime64_args), .sy_call = (sy_call_t *)linux_clock_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 403 = linux_clock_gettime64 */
|
||||
{ .sy_narg = AS(linux_clock_settime64_args), .sy_call = (sy_call_t *)linux_clock_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 404 = linux_clock_settime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_adjtime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 405 = linux_clock_adjtime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_getres_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 406 = linux_clock_getres_time64 */
|
||||
{ .sy_narg = AS(linux_clock_getres_time64_args), .sy_call = (sy_call_t *)linux_clock_getres_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 406 = linux_clock_getres_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_clock_nanosleep_time64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 407 = linux_clock_nanosleep_time64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timer_gettime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 408 = linux_timer_gettime64 */
|
||||
{ .sy_narg = 0, .sy_call = (sy_call_t *)linux_timer_settime64, .sy_auevent = AUE_NULL, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 409 = linux_timer_settime64 */
|
||||
|
@ -3022,7 +3022,10 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
}
|
||||
/* linux_clock_getres_time64 */
|
||||
case 406: {
|
||||
*n_args = 0;
|
||||
struct linux_clock_getres_time64_args *p = params;
|
||||
iarg[0] = p->which; /* clockid_t */
|
||||
uarg[1] = (intptr_t)p->tp; /* struct l_timespec64 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
@ -8103,6 +8106,16 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
/* linux_clock_getres_time64 */
|
||||
case 406:
|
||||
switch (ndx) {
|
||||
case 0:
|
||||
p = "clockid_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct l_timespec64 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
@ -9921,6 +9934,9 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
case 405:
|
||||
/* linux_clock_getres_time64 */
|
||||
case 406:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* linux_clock_nanosleep_time64 */
|
||||
case 407:
|
||||
/* linux_timer_gettime64 */
|
||||
|
Loading…
Reference in New Issue
Block a user