From f9cd8c7072d82347971943739cf4bc82c76625ce Mon Sep 17 00:00:00 2001 From: Zhongqi Zhao Date: Wed, 6 Nov 2024 18:45:23 +0000 Subject: [PATCH] linuxulator: Regenerate syscalls --- sys/arm64/linux/linux_proto.h | 4 ++-- sys/arm64/linux/linux_systrace_args.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arm64/linux/linux_proto.h b/sys/arm64/linux/linux_proto.h index 7615cc834c0e..492446495fce 100644 --- a/sys/arm64/linux/linux_proto.h +++ b/sys/arm64/linux/linux_proto.h @@ -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 { diff --git a/sys/arm64/linux/linux_systrace_args.c b/sys/arm64/linux/linux_systrace_args.c index 53529e582930..5c002b6792a2 100644 --- a/sys/arm64/linux/linux_systrace_args.c +++ b/sys/arm64/linux/linux_systrace_args.c @@ -1342,7 +1342,7 @@ 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; @@ -1350,7 +1350,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) /* 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; @@ -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 *"; @@ -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 *";