Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/alpha regen



details:   https://anonhg.NetBSD.org/src/rev/59740ba41c7b
branches:  trunk
changeset: 997738:59740ba41c7b
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Mar 24 16:39:46 2019 +0000

description:
regen

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h     |   47 ++++++++++-
 sys/compat/linux/arch/alpha/linux_syscallargs.h |   94 +++++++++++-----------
 sys/compat/linux/arch/alpha/linux_syscalls.c    |   65 +++++++-------
 sys/compat/linux/arch/alpha/linux_sysent.c      |  102 ++++++++++++-----------
 4 files changed, 178 insertions(+), 130 deletions(-)

diffs (truncated from 901 to 300 lines):

diff -r 8692d93dee08 -r 59740ba41c7b sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Sun Mar 24 16:24:19 2019 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Sun Mar 24 16:39:46 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.107 2018/08/10 21:47:14 pgoyette Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.108 2019/03/24 16:39:46 maxv Exp $ */
 
 /*
  * System call numbers.
@@ -30,6 +30,9 @@
 /* syscall: "close" ret: "int" args: "int" */
 #define        LINUX_SYS_close 6
 
+/* syscall: "osf1_wait4" ret: "int" args: "int" "int *" "int" "struct osf1_rusage *" */
+#define        LINUX_SYS_osf1_wait4    7
+
 /* syscall: "creat" ret: "int" args: "const char *" "linux_umode_t" */
 #define        LINUX_SYS_creat 8
 
@@ -63,6 +66,9 @@
 /* syscall: "getpid_with_ppid" ret: "pid_t" args: */
 #define        LINUX_SYS_getpid_with_ppid      20
 
+/* syscall: "osf1_mount" ret: "int" args: "int" "const char *" "int" "void *" */
+#define        LINUX_SYS_osf1_mount    21
+
 /* syscall: "setuid" ret: "int" args: "uid_t" */
 #define        LINUX_SYS_setuid        23
 
@@ -90,6 +96,9 @@
 /* syscall: "pipe" ret: "int" args: */
 #define        LINUX_SYS_pipe  42
 
+/* syscall: "osf1_set_program_attributes" ret: "int" args: "void *" "unsigned long" "void *" "unsigned long" */
+#define        LINUX_SYS_osf1_set_program_attributes   43
+
 /* syscall: "open" ret: "int" args: "const char *" "int" "linux_umode_t" */
 #define        LINUX_SYS_open  45
 
@@ -156,6 +165,9 @@
 /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
 #define        LINUX_SYS_setgroups     80
 
+/* syscall: "osf1_setitimer" ret: "int" args: "int" "struct osf1_itimerval *" "struct osf1_itimerval *" */
+#define        LINUX_SYS_osf1_setitimer        83
+
 /* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
 #define        LINUX_SYS_gethostname   87
 
@@ -171,6 +183,9 @@
 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
 #define        LINUX_SYS_fcntl 92
 
+/* syscall: "osf1_select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct osf1_timeval *" */
+#define        LINUX_SYS_osf1_select   93
+
 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
 #define        LINUX_SYS_poll  94
 
@@ -222,6 +237,12 @@
 /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct linux_msghdr *" "int" */
 #define        LINUX_SYS_sendmsg       114
 
+/* syscall: "osf1_gettimeofday" ret: "int" args: "struct osf1_timeval *" "struct osf1_timezone *" */
+#define        LINUX_SYS_osf1_gettimeofday     116
+
+/* syscall: "osf1_getrusage" ret: "int" args: "int" "struct osf1_rusage *" */
+#define        LINUX_SYS_osf1_getrusage        117
+
 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
 #define        LINUX_SYS_getsockopt    118
 
@@ -231,6 +252,9 @@
 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
 #define        LINUX_SYS_writev        121
 
+/* syscall: "osf1_settimeofday" ret: "int" args: "struct osf1_timeval *" "struct osf1_timezone *" */
+#define        LINUX_SYS_osf1_settimeofday     122
+
 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
 #define        LINUX_SYS___posix_fchown        123
 
@@ -276,6 +300,9 @@
 /* syscall: "rmdir" ret: "int" args: "const char *" */
 #define        LINUX_SYS_rmdir 137
 
+/* syscall: "osf1_utimes" ret: "int" args: "const char *" "const struct osf1_timeval *" */
+#define        LINUX_SYS_osf1_utimes   138
+
 /* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */
 #define        LINUX_SYS_getpeername   141
 
@@ -297,6 +324,12 @@
 /* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
 #define        LINUX_SYS_getdirentries 159
 
+/* syscall: "osf1_statfs" ret: "int" args: "const char *" "struct osf1_statfs *" "int" */
+#define        LINUX_SYS_osf1_statfs   160
+
+/* syscall: "osf1_fstatfs" ret: "int" args: "int" "struct osf1_statfs *" "int" */
+#define        LINUX_SYS_osf1_fstatfs  161
+
 /* syscall: "getdomainname" ret: "int" args: "char *" "int" */
 #define        LINUX_SYS_getdomainname 165
 
@@ -363,6 +396,18 @@
 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
 #define        LINUX_SYS_getsid        234
 
+/* syscall: "osf1_sysinfo" ret: "int" args: "int" "char *" "long" */
+#define        LINUX_SYS_osf1_sysinfo  241
+
+/* syscall: "osf1_usleep_thread" ret: "int" args: "struct osf1_timeval *" "struct osf1_timeval *" */
+#define        LINUX_SYS_osf1_usleep_thread    251
+
+/* syscall: "osf1_getsysinfo" ret: "int" args: "u_long" "void *" "u_long" "void *" "u_long" */
+#define        LINUX_SYS_osf1_getsysinfo       256
+
+/* syscall: "osf1_setsysinfo" ret: "int" args: "u_long" "void *" "u_long" "void *" "u_long" */
+#define        LINUX_SYS_osf1_setsysinfo       257
+
 /* syscall: "fdatasync" ret: "int" args: "int" */
 #define        LINUX_SYS_fdatasync     261
 
diff -r 8692d93dee08 -r 59740ba41c7b sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sun Mar 24 16:24:19 2019 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sun Mar 24 16:39:46 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.106 2018/08/10 21:47:14 pgoyette Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.107 2019/03/24 16:39:46 maxv Exp $ */
 
 /*
  * System call argument lists.
@@ -45,13 +45,13 @@
 
 struct sys_close_args;
 
-struct osf1_sys_wait4_args {
+struct linux_sys_osf1_wait4_args {
        syscallarg(int) pid;
        syscallarg(int *) status;
        syscallarg(int) options;
        syscallarg(struct osf1_rusage *) rusage;
 };
-check_syscall_args(osf1_sys_wait4)
+check_syscall_args(linux_sys_osf1_wait4)
 
 struct linux_sys_creat_args {
        syscallarg(const char *) path;
@@ -88,13 +88,13 @@
 
 struct compat_43_sys_lseek_args;
 
-struct osf1_sys_mount_args {
+struct linux_sys_osf1_mount_args {
        syscallarg(int) type;
        syscallarg(const char *) path;
        syscallarg(int) flags;
        syscallarg(void *) data;
 };
-check_syscall_args(osf1_sys_mount)
+check_syscall_args(linux_sys_osf1_mount)
 
 struct sys_setuid_args;
 
@@ -118,13 +118,13 @@
 
 struct sys_dup_args;
 
-struct osf1_sys_set_program_attributes_args {
+struct linux_sys_osf1_set_program_attributes_args {
        syscallarg(void *) taddr;
        syscallarg(unsigned long) tsize;
        syscallarg(void *) daddr;
        syscallarg(unsigned long) dsize;
 };
-check_syscall_args(osf1_sys_set_program_attributes)
+check_syscall_args(linux_sys_osf1_set_program_attributes)
 
 struct linux_sys_open_args {
        syscallarg(const char *) path;
@@ -188,12 +188,12 @@
 
 struct sys_setgroups_args;
 
-struct osf1_sys_setitimer_args {
+struct linux_sys_osf1_setitimer_args {
        syscallarg(int) which;
        syscallarg(struct osf1_itimerval *) itv;
        syscallarg(struct osf1_itimerval *) oitv;
 };
-check_syscall_args(osf1_sys_setitimer)
+check_syscall_args(linux_sys_osf1_setitimer)
 
 struct compat_43_sys_gethostname_args;
 
@@ -214,14 +214,14 @@
 };
 check_syscall_args(linux_sys_fcntl)
 
-struct osf1_sys_select_args {
+struct linux_sys_osf1_select_args {
        syscallarg(u_int) nd;
        syscallarg(fd_set *) in;
        syscallarg(fd_set *) ou;
        syscallarg(fd_set *) ex;
        syscallarg(struct osf1_timeval *) tv;
 };
-check_syscall_args(osf1_sys_select)
+check_syscall_args(linux_sys_osf1_select)
 
 struct sys_poll_args;
 
@@ -318,17 +318,17 @@
 };
 check_syscall_args(linux_sys_sendmsg)
 
-struct osf1_sys_gettimeofday_args {
+struct linux_sys_osf1_gettimeofday_args {
        syscallarg(struct osf1_timeval *) tv;
        syscallarg(struct osf1_timezone *) tzp;
 };
-check_syscall_args(osf1_sys_gettimeofday)
+check_syscall_args(linux_sys_osf1_gettimeofday)
 
-struct osf1_sys_getrusage_args {
+struct linux_sys_osf1_getrusage_args {
        syscallarg(int) who;
        syscallarg(struct osf1_rusage *) rusage;
 };
-check_syscall_args(osf1_sys_getrusage)
+check_syscall_args(linux_sys_osf1_getrusage)
 
 struct linux_sys_getsockopt_args {
        syscallarg(int) s;
@@ -343,11 +343,11 @@
 
 struct sys_writev_args;
 
-struct osf1_sys_settimeofday_args {
+struct linux_sys_osf1_settimeofday_args {
        syscallarg(struct osf1_timeval *) tv;
        syscallarg(struct osf1_timezone *) tzp;
 };
-check_syscall_args(osf1_sys_settimeofday)
+check_syscall_args(linux_sys_osf1_settimeofday)
 
 struct sys___posix_fchown_args;
 
@@ -401,11 +401,11 @@
 
 struct sys_rmdir_args;
 
-struct osf1_sys_utimes_args {
+struct linux_sys_osf1_utimes_args {
        syscallarg(const char *) path;
        syscallarg(const struct osf1_timeval *) tptr;
 };
-check_syscall_args(osf1_sys_utimes)
+check_syscall_args(linux_sys_osf1_utimes)
 
 struct linux_sys_getpeername_args {
        syscallarg(int) fdes;
@@ -442,19 +442,19 @@
 
 struct compat_43_sys_getdirentries_args;
 
-struct osf1_sys_statfs_args {
+struct linux_sys_osf1_statfs_args {
        syscallarg(const char *) path;
        syscallarg(struct osf1_statfs *) buf;
        syscallarg(int) len;
 };
-check_syscall_args(osf1_sys_statfs)
+check_syscall_args(linux_sys_osf1_statfs)
 
-struct osf1_sys_fstatfs_args {
+struct linux_sys_osf1_fstatfs_args {
        syscallarg(int) fd;
        syscallarg(struct osf1_statfs *) buf;
        syscallarg(int) len;
 };
-check_syscall_args(osf1_sys_fstatfs)
+check_syscall_args(linux_sys_osf1_fstatfs)
 
 struct compat_09_sys_getdomainname_args;
 
@@ -514,36 +514,36 @@
 
 struct sys_getsid_args;
 
-struct osf1_sys_sysinfo_args {
+struct linux_sys_osf1_sysinfo_args {
        syscallarg(int) cmd;
-       syscallarg(char) buf;
+       syscallarg(char *) buf;
        syscallarg(long) len;
 };
-check_syscall_args(osf1_sys_sysinfo)
+check_syscall_args(linux_sys_osf1_sysinfo)



Home | Main Index | Thread Index | Old Index