Commit 0910a41e authored by Brooks Davis's avatar Brooks Davis
Browse files

Revert "syscallarg_t: Add a type for system call arguments"

Missed issues in truss on at least armv7 and powerpcspe need to be
resolved before recommit.

This reverts commit 3889fb8a.
This reverts commit 1544e0f5.
parent 3889fb8a
......@@ -1011,7 +1011,7 @@ cpu_fetch_syscall_args_fallback(struct thread *td, struct syscall_args *sa)
{
struct proc *p;
struct trapframe *frame;
syscallarg_t *argp;
register_t *argp;
caddr_t params;
int reg, regcnt, error;
......
......@@ -23,8 +23,8 @@ struct proc;
struct thread;
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
0 : sizeof(syscallarg_t) - sizeof(t))
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
0 : sizeof(register_t) - sizeof(t))
#if BYTE_ORDER == LITTLE_ENDIAN
#define PADL_(t) 0
......@@ -162,7 +162,7 @@ struct linux_shmctl_args {
char buf_l_[PADL_(struct l_shmid_ds *)]; struct l_shmid_ds * buf; char buf_r_[PADR_(struct l_shmid_ds *)];
};
struct linux_pause_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_nanosleep_args {
char rqtp_l_[PADL_(const struct l_timespec *)]; const struct l_timespec * rqtp; char rqtp_r_[PADR_(const struct l_timespec *)];
......@@ -181,7 +181,7 @@ struct linux_setitimer_args {
char oitv_l_[PADL_(struct l_itimerval *)]; struct l_itimerval * oitv; char oitv_r_[PADR_(struct l_itimerval *)];
};
struct linux_getpid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_sendfile_args {
char out_l_[PADL_(l_int)]; l_int out; char out_r_[PADR_(l_int)];
......@@ -281,10 +281,10 @@ struct linux_clone_args {
char tls_l_[PADL_(l_ulong)]; l_ulong tls; char tls_r_[PADR_(l_ulong)];
};
struct linux_fork_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_vfork_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_execve_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
......@@ -438,7 +438,7 @@ struct linux_ptrace_args {
char data_l_[PADL_(l_ulong)]; l_ulong data; char data_r_[PADR_(l_ulong)];
};
struct linux_getuid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_syslog_args {
char type_l_[PADL_(l_int)]; l_int type; char type_r_[PADR_(l_int)];
......@@ -446,10 +446,10 @@ struct linux_syslog_args {
char len_l_[PADL_(l_int)]; l_int len; char len_r_[PADR_(l_int)];
};
struct linux_getgid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_getppid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_getgroups_args {
char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
......@@ -559,13 +559,13 @@ struct linux_sched_rr_get_interval_args {
char interval_l_[PADL_(struct l_timespec *)]; struct l_timespec * interval; char interval_r_[PADR_(struct l_timespec *)];
};
struct linux_vhangup_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_modify_ldt_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_pivot_root_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_sysctl_args {
char args_l_[PADL_(struct l___sysctl_args *)]; struct l___sysctl_args * args; char args_r_[PADR_(struct l___sysctl_args *)];
......@@ -582,7 +582,7 @@ struct linux_arch_prctl_args {
char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
};
struct linux_adjtimex_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_setrlimit_args {
char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
......@@ -600,7 +600,7 @@ struct linux_umount_args {
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
};
struct linux_swapoff_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_reboot_args {
char magic1_l_[PADL_(l_int)]; l_int magic1; char magic1_r_[PADR_(l_int)];
......@@ -620,22 +620,22 @@ struct linux_iopl_args {
char level_l_[PADL_(l_uint)]; l_uint level; char level_r_[PADR_(l_uint)];
};
struct linux_ioperm_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_init_module_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_delete_module_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_quotactl_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_gettid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_readahead_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_setxattr_args {
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
......@@ -729,28 +729,28 @@ struct linux_sched_getaffinity_args {
char user_mask_ptr_l_[PADL_(l_ulong *)]; l_ulong * user_mask_ptr; char user_mask_ptr_r_[PADR_(l_ulong *)];
};
struct linux_io_setup_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_io_destroy_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_io_getevents_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_io_submit_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_io_cancel_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_lookup_dcookie_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_epoll_create_args {
char size_l_[PADL_(l_int)]; l_int size; char size_r_[PADR_(l_int)];
};
struct linux_remap_file_pages_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_getdents64_args {
char fd_l_[PADL_(l_uint)]; l_uint fd; char fd_r_[PADR_(l_uint)];
......@@ -761,10 +761,10 @@ struct linux_set_tid_address_args {
char tidptr_l_[PADL_(l_int *)]; l_int * tidptr; char tidptr_r_[PADR_(l_int *)];
};
struct linux_restart_syscall_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_semtimedop_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_fadvise64_args {
char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
......@@ -836,13 +836,13 @@ struct linux_utimes_args {
char tptr_l_[PADL_(struct l_timeval *)]; struct l_timeval * tptr; char tptr_r_[PADR_(struct l_timeval *)];
};
struct linux_mbind_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_set_mempolicy_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_get_mempolicy_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_mq_open_args {
char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
......@@ -877,7 +877,7 @@ struct linux_mq_getsetattr_args {
char oattr_l_[PADL_(struct mq_attr *)]; struct mq_attr * oattr; char oattr_r_[PADR_(struct mq_attr *)];
};
struct linux_kexec_load_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_waitid_args {
char idtype_l_[PADL_(l_int)]; l_int idtype; char idtype_r_[PADR_(l_int)];
......@@ -887,31 +887,31 @@ struct linux_waitid_args {
char rusage_l_[PADL_(struct rusage *)]; struct rusage * rusage; char rusage_r_[PADR_(struct rusage *)];
};
struct linux_add_key_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_request_key_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_keyctl_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_ioprio_set_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_ioprio_get_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_inotify_init_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_inotify_add_watch_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_inotify_rm_watch_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_migrate_pages_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_openat_args {
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
......@@ -1003,7 +1003,7 @@ struct linux_ppoll_args {
char ssize_l_[PADL_(l_size_t)]; l_size_t ssize; char ssize_r_[PADR_(l_size_t)];
};
struct linux_unshare_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_set_robust_list_args {
char head_l_[PADL_(struct linux_robust_list_head *)]; struct linux_robust_list_head * head; char head_r_[PADR_(struct linux_robust_list_head *)];
......@@ -1023,7 +1023,7 @@ struct linux_splice_args {
char flags_l_[PADL_(l_uint)]; l_uint flags; char flags_r_[PADR_(l_uint)];
};
struct linux_tee_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_sync_file_range_args {
char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
......@@ -1032,10 +1032,10 @@ struct linux_sync_file_range_args {
char flags_l_[PADL_(l_uint)]; l_uint flags; char flags_r_[PADR_(l_uint)];
};
struct linux_vmsplice_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_move_pages_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_utimensat_args {
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
......@@ -1052,7 +1052,7 @@ struct linux_epoll_pwait_args {
char sigsetsize_l_[PADL_(l_size_t)]; l_size_t sigsetsize; char sigsetsize_r_[PADR_(l_size_t)];
};
struct linux_signalfd_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_timerfd_create_args {
char clockid_l_[PADL_(l_int)]; l_int clockid; char clockid_r_[PADR_(l_int)];
......@@ -1084,7 +1084,7 @@ struct linux_accept4_args {
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
};
struct linux_signalfd4_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_eventfd2_args {
char initval_l_[PADL_(l_uint)]; l_uint initval; char initval_r_[PADR_(l_uint)];
......@@ -1126,7 +1126,7 @@ struct linux_rt_tgsigqueueinfo_args {
char uinfo_l_[PADL_(l_siginfo_t *)]; l_siginfo_t * uinfo; char uinfo_r_[PADR_(l_siginfo_t *)];
};
struct linux_perf_event_open_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_recvmmsg_args {
char s_l_[PADL_(l_int)]; l_int s; char s_r_[PADR_(l_int)];
......@@ -1136,10 +1136,10 @@ struct linux_recvmmsg_args {
char timeout_l_[PADL_(struct l_timespec *)]; struct l_timespec * timeout; char timeout_r_[PADR_(struct l_timespec *)];
};
struct linux_fanotify_init_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_fanotify_mark_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_prlimit64_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
......@@ -1160,7 +1160,7 @@ struct linux_open_by_handle_at_args {
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
};
struct linux_clock_adjtime_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_syncfs_args {
char fd_l_[PADL_(l_int)]; l_int fd; char fd_r_[PADR_(l_int)];
......@@ -1316,10 +1316,10 @@ struct linux_statx_args {
char statxbuf_l_[PADL_(void *)]; void * statxbuf; char statxbuf_r_[PADR_(void *)];
};
struct linux_io_pgetevents_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_rseq_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_pidfd_send_signal_args {
char pidfd_l_[PADL_(l_int)]; l_int pidfd; char pidfd_r_[PADR_(l_int)];
......@@ -1328,47 +1328,47 @@ struct linux_pidfd_send_signal_args {
char flags_l_[PADL_(l_uint)]; l_uint flags; char flags_r_[PADR_(l_uint)];
};
struct linux_io_uring_setup_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_io_uring_enter_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_io_uring_register_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_open_tree_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_move_mount_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_fsopen_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_fsconfig_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_fsmount_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_fspick_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_pidfd_open_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_clone3_args {
char uargs_l_[PADL_(struct l_user_clone_args *)]; struct l_user_clone_args * uargs; char uargs_r_[PADR_(struct l_user_clone_args *)];
char usize_l_[PADL_(l_size_t)]; l_size_t usize; char usize_r_[PADR_(l_size_t)];
};
struct linux_close_range_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_openat2_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_pidfd_getfd_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_faccessat2_args {
char dfd_l_[PADL_(l_int)]; l_int dfd; char dfd_r_[PADR_(l_int)];
......@@ -1377,13 +1377,13 @@ struct linux_faccessat2_args {
char flags_l_[PADL_(l_int)]; l_int flags; char flags_r_[PADR_(l_int)];
};
struct linux_process_madvise_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_epoll_pwait2_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_mount_setattr_args {
syscallarg_t dummy;
register_t dummy;
};
#define nosys linux_nosys
int linux_open(struct thread *, struct linux_open_args *);
......
......@@ -12,7 +12,7 @@
#include <amd64/linux/linux.h>
#include <amd64/linux/linux_proto.h>
#define AS(name) (sizeof(struct name) / sizeof(syscallarg_t))
#define AS(name) (sizeof(struct name) / sizeof(register_t))
/* The casts are bogus but will do for now. */
struct sysent linux_sysent[] = {
......
......@@ -23,8 +23,8 @@ struct proc;
struct thread;
#define PAD_(t) (sizeof(syscallarg_t) <= sizeof(t) ? \
0 : sizeof(syscallarg_t) - sizeof(t))
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
0 : sizeof(register_t) - sizeof(t))
#if BYTE_ORDER == LITTLE_ENDIAN
#define PADL_(t) 0
......@@ -39,7 +39,7 @@ struct linux_exit_args {
char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
};
struct linux_fork_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_open_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
......@@ -97,7 +97,7 @@ struct linux_lseek_args {
char whence_l_[PADL_(l_int)]; l_int whence; char whence_r_[PADR_(l_int)];
};
struct linux_getpid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_mount_args {
char specialfile_l_[PADL_(char *)]; char * specialfile; char specialfile_r_[PADR_(char *)];
......@@ -113,10 +113,10 @@ struct linux_setuid16_args {
char uid_l_[PADL_(l_uid16_t)]; l_uid16_t uid; char uid_r_[PADR_(l_uid16_t)];
};
struct linux_getuid16_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_stime_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_ptrace_args {
char req_l_[PADL_(l_long)]; l_long req; char req_r_[PADR_(l_long)];
......@@ -128,7 +128,7 @@ struct linux_alarm_args {
char secs_l_[PADL_(l_uint)]; l_uint secs; char secs_r_[PADR_(l_uint)];
};
struct linux_pause_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_utime_args {
char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
......@@ -169,17 +169,17 @@ struct linux_setgid16_args {
char gid_l_[PADL_(l_gid16_t)]; l_gid16_t gid; char gid_r_[PADR_(l_gid16_t)];
};
struct linux_getgid16_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_signal_args {
char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
char handler_l_[PADL_(l_handler_t)]; l_handler_t handler; char handler_r_[PADR_(l_handler_t)];
};
struct linux_geteuid16_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_getegid16_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_umount_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
......@@ -196,14 +196,14 @@ struct linux_fcntl_args {
char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
};
struct linux_olduname_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_ustat_args {
char dev_l_[PADL_(l_dev_t)]; l_dev_t dev; char dev_r_[PADR_(l_dev_t)];
char ubuf_l_[PADL_(struct l_ustat *)]; struct l_ustat * ubuf; char ubuf_r_[PADR_(struct l_ustat *)];
};
struct linux_getppid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_sigaction_args {
char sig_l_[PADL_(l_int)]; l_int sig; char sig_r_[PADR_(l_int)];
......@@ -211,7 +211,7 @@ struct linux_sigaction_args {
char osa_l_[PADL_(l_osigaction_t *)]; l_osigaction_t * osa; char osa_r_[PADR_(l_osigaction_t *)];
};
struct linux_sgetmask_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_ssetmask_args {
char mask_l_[PADL_(l_osigset_t)]; l_osigset_t mask; char mask_r_[PADR_(l_osigset_t)];
......@@ -345,13 +345,13 @@ struct linux_newfstat_args {
char buf_l_[PADL_(struct l_newstat *)]; struct l_newstat * buf; char buf_r_[PADR_(struct l_newstat *)];
};
struct linux_uname_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_iopl_args {
char level_l_[PADL_(l_int)]; l_int level; char level_r_[PADR_(l_int)];
};
struct linux_vhangup_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_wait4_args {
char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)];
......@@ -360,7 +360,7 @@ struct linux_wait4_args {
char rusage_l_[PADL_(struct l_rusage *)]; struct l_rusage * rusage; char rusage_r_[PADR_(struct l_rusage *)];
};
struct linux_swapoff_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_sysinfo_args {
char info_l_[PADL_(struct l_sysinfo *)]; struct l_sysinfo * info; char info_r_[PADR_(struct l_sysinfo *)];
......@@ -391,7 +391,7 @@ struct linux_newuname_args {
char buf_l_[PADL_(struct l_new_utsname *)]; struct l_new_utsname * buf; char buf_r_[PADR_(struct l_new_utsname *)];
};
struct linux_adjtimex_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_mprotect_args {
char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
......@@ -404,16 +404,16 @@ struct linux_sigprocmask_args {
char omask_l_[PADL_(l_osigset_t *)]; l_osigset_t * omask; char omask_r_[PADR_(l_osigset_t *)];
};
struct linux_init_module_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_delete_module_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_quotactl_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_bdflush_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_sysfs_args {
char option_l_[PADL_(l_int)]; l_int option; char option_r_[PADR_(l_int)];
......@@ -617,7 +617,7 @@ struct linux_sendfile_args {
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
};
struct linux_vfork_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_getrlimit_args {
char resource_l_[PADL_(l_uint)]; l_uint resource; char resource_r_[PADR_(l_uint)];
......@@ -659,10 +659,10 @@ struct linux_lchown_args {
char gid_l_[PADL_(l_gid_t)]; l_gid_t gid; char gid_r_[PADR_(l_gid_t)];
};
struct linux_getuid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_getgid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_getgroups_args {
char gidsetsize_l_[PADL_(l_int)]; l_int gidsetsize; char gidsetsize_r_[PADR_(l_int)];
......@@ -708,7 +708,7 @@ struct linux_fcntl64_args {
char arg_l_[PADL_(uintptr_t)]; uintptr_t arg; char arg_r_[PADR_(uintptr_t)];
};
struct linux_gettid_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_setxattr_args {
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
......@@ -818,7 +818,7 @@ struct linux_exit_group_args {
char error_code_l_[PADL_(int)]; int error_code; char error_code_r_[PADR_(int)];
};
struct linux_lookup_dcookie_args {
syscallarg_t dummy;
register_t dummy;
};
struct linux_epoll_create_args {
char size_l_[PADL_(l_int)]; l_int size; char size_r_[PADR_(l_int)];
......@@ -836,7 +836,7 @@ struct linux_epoll_wait_args {
char timeout_l_[PADL_(l_int)]; l_int timeout; char timeout_r_[PADR_(l_int)];
};
struct linux_remap_file_pages_args {
syscallarg_t dummy;
register_t dummy;