Skip to content

Commit

Permalink
linuxulator: Regenerate syscalls
Browse files Browse the repository at this point in the history
  • Loading branch information
w4123 committed Nov 6, 2024
1 parent 387eb4b commit f9cd8c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions sys/arm64/linux/linux_proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -686,11 +686,11 @@ struct linux_getcpu_args {
char cache_l_[PADL_(void *)]; void * cache; char cache_r_[PADR_(void *)];
};
struct linux_gettimeofday_args {
char tp_l_[PADL_(struct l_timeval *)]; struct l_timeval * tp; char tp_r_[PADR_(struct l_timeval *)];
char tp_l_[PADL_(l_timeval *)]; l_timeval * tp; char tp_r_[PADR_(l_timeval *)];
char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
};
struct linux_settimeofday_args {
char tv_l_[PADL_(struct l_timeval *)]; struct l_timeval * tv; char tv_r_[PADR_(struct l_timeval *)];
char tv_l_[PADL_(l_timeval *)]; l_timeval * tv; char tv_r_[PADR_(l_timeval *)];
char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
};
struct linux_adjtimex_args {
Expand Down
8 changes: 4 additions & 4 deletions sys/arm64/linux/linux_systrace_args.c
Original file line number Diff line number Diff line change
Expand Up @@ -1342,15 +1342,15 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
/* linux_gettimeofday */
case 169: {
struct linux_gettimeofday_args *p = params;
uarg[a++] = (intptr_t)p->tp; /* struct l_timeval * */
uarg[a++] = (intptr_t)p->tp; /* l_timeval * */
uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
*n_args = 2;
break;
}
/* linux_settimeofday */
case 170: {
struct linux_settimeofday_args *p = params;
uarg[a++] = (intptr_t)p->tv; /* struct l_timeval * */
uarg[a++] = (intptr_t)p->tv; /* l_timeval * */
uarg[a++] = (intptr_t)p->tzp; /* struct timezone * */
*n_args = 2;
break;
Expand Down Expand Up @@ -4656,7 +4656,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 169:
switch (ndx) {
case 0:
p = "userland struct l_timeval *";
p = "userland l_timeval *";
break;
case 1:
p = "userland struct timezone *";
Expand All @@ -4669,7 +4669,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
case 170:
switch (ndx) {
case 0:
p = "userland struct l_timeval *";
p = "userland l_timeval *";
break;
case 1:
p = "userland struct timezone *";
Expand Down

0 comments on commit f9cd8c7

Please sign in to comment.