Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux32/arch/amd64 regen



details:   https://anonhg.NetBSD.org/src/rev/87b5f2404dda
branches:  trunk
changeset: 758341:87b5f2404dda
user:      chs <chs%NetBSD.org@localhost>
date:      Tue Nov 02 18:15:39 2010 +0000

description:
regen

diffstat:

 sys/compat/linux32/arch/amd64/linux32_syscall.h     |  31 ++++++++-
 sys/compat/linux32/arch/amd64/linux32_syscallargs.h |  69 ++++++++++++++++++++-
 sys/compat/linux32/arch/amd64/linux32_syscalls.c    |  24 +++---
 sys/compat/linux32/arch/amd64/linux32_sysent.c      |  42 ++++++------
 4 files changed, 129 insertions(+), 37 deletions(-)

diffs (truncated from 431 to 300 lines):

diff -r 57b07a41fe1d -r 87b5f2404dda sys/compat/linux32/arch/amd64/linux32_syscall.h
--- a/sys/compat/linux32/arch/amd64/linux32_syscall.h   Tue Nov 02 18:14:05 2010 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscall.h   Tue Nov 02 18:15:39 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscall.h,v 1.59 2010/07/07 01:31:54 chs Exp $ */
+/* $NetBSD: linux32_syscall.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
+ * created from        NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
  */
 
 #ifndef _LINUX32_SYS_SYSCALL_H_
@@ -265,12 +265,18 @@
 /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */
 #define        LINUX32_SYS_netbsd32_setpriority        97
 
+/* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_u_long" "u_int" */
+#define        LINUX32_SYS_netbsd32_profil     98
+
 /* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */
 #define        LINUX32_SYS_statfs      99
 
 /* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */
 #define        LINUX32_SYS_fstatfs     100
 
+/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
+#define        LINUX32_SYS_ioperm      101
+
 /* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */
 #define        LINUX32_SYS_socketcall  102
 
@@ -292,6 +298,9 @@
 /* syscall: "olduname" ret: "int" args: "linux32_oldutsnamep_t" */
 #define        LINUX32_SYS_olduname    109
 
+/* syscall: "iopl" ret: "int" args: "int" */
+#define        LINUX32_SYS_iopl        110
+
 /* syscall: "wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusage50p_t" */
 #define        LINUX32_SYS_wait4       114
 
@@ -313,9 +322,15 @@
 /* syscall: "clone" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" */
 #define        LINUX32_SYS_clone       120
 
+/* syscall: "setdomainname" ret: "int" args: "netbsd32_charp" "int" */
+#define        LINUX32_SYS_setdomainname       121
+
 /* syscall: "uname" ret: "int" args: "linux32_utsnamep" */
 #define        LINUX32_SYS_uname       122
 
+/* syscall: "modify_ldt" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */
+#define        LINUX32_SYS_modify_ldt  123
+
 /* syscall: "mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */
 #define        LINUX32_SYS_mprotect    125
 
@@ -457,6 +472,12 @@
 /* syscall: "mmap2" ret: "linux32_off_t" args: "netbsd32_u_long" "netbsd32_size_t" "int" "int" "int" "linux32_off_t" */
 #define        LINUX32_SYS_mmap2       192
 
+/* syscall: "truncate64" ret: "int" args: "netbsd32_charp" "uint32_t" "uint32_t" */
+#define        LINUX32_SYS_truncate64  193
+
+/* syscall: "ftruncate64" ret: "int" args: "unsigned int" "uint32_t" "uint32_t" */
+#define        LINUX32_SYS_ftruncate64 194
+
 /* syscall: "stat64" ret: "int" args: "netbsd32_charp" "linux32_stat64p" */
 #define        LINUX32_SYS_stat64      195
 
@@ -576,6 +597,12 @@
 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "linux32_timespecp_t" "linux32_timespecp_t" */
 #define        LINUX32_SYS_clock_nanosleep     267
 
+/* syscall: "statfs64" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" "linux32_statfs64p" */
+#define        LINUX32_SYS_statfs64    268
+
+/* syscall: "fstatfs64" ret: "int" args: "int" "netbsd32_size_t" "linux32_statfs64p" */
+#define        LINUX32_SYS_fstatfs64   269
+
 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
 #define        LINUX32_SYS_tgkill      270
 
diff -r 57b07a41fe1d -r 87b5f2404dda sys/compat/linux32/arch/amd64/linux32_syscallargs.h
--- a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h       Tue Nov 02 18:14:05 2010 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h       Tue Nov 02 18:15:39 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux32_syscallargs.h,v 1.59 2010/07/07 01:31:54 chs Exp $ */
+/* $NetBSD: linux32_syscallargs.h,v 1.60 2010/11/02 18:15:39 chs Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
+ * created from        NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
  */
 
 #ifndef _LINUX32_SYS_SYSCALLARGS_H_
@@ -316,6 +316,8 @@
 
 struct netbsd32_setpriority_args;
 
+struct netbsd32_profil_args;
+
 struct linux32_sys_statfs_args {
        syscallarg(netbsd32_charp) path;
        syscallarg(linux32_statfsp) sp;
@@ -328,6 +330,8 @@
 };
 check_syscall_args(linux32_sys_fstatfs)
 
+struct linux_sys_ioperm_args;
+
 struct linux32_sys_socketcall_args {
        syscallarg(int) what;
        syscallarg(netbsd32_voidp) args;
@@ -361,6 +365,8 @@
 };
 check_syscall_args(linux32_sys_olduname)
 
+struct linux_sys_iopl_args;
+
 struct linux32_sys_wait4_args {
        syscallarg(int) pid;
        syscallarg(netbsd32_intp) status;
@@ -404,11 +410,24 @@
 };
 check_syscall_args(linux32_sys_clone)
 
+struct linux32_sys_setdomainname_args {
+       syscallarg(netbsd32_charp) domainname;
+       syscallarg(int) len;
+};
+check_syscall_args(linux32_sys_setdomainname)
+
 struct linux32_sys_uname_args {
        syscallarg(linux32_utsnamep) up;
 };
 check_syscall_args(linux32_sys_uname)
 
+struct linux32_sys_modify_ldt_args {
+       syscallarg(int) func;
+       syscallarg(netbsd32_charp) ptr;
+       syscallarg(netbsd32_size_t) bytecount;
+};
+check_syscall_args(linux32_sys_modify_ldt)
+
 struct linux32_sys_mprotect_args {
        syscallarg(netbsd32_voidp) start;
        syscallarg(netbsd32_size_t) len;
@@ -639,6 +658,20 @@
 };
 check_syscall_args(linux32_sys_mmap2)
 
+struct linux32_sys_truncate64_args {
+       syscallarg(netbsd32_charp) path;
+       syscallarg(uint32_t) lenlo;
+       syscallarg(uint32_t) lenhi;
+};
+check_syscall_args(linux32_sys_truncate64)
+
+struct linux32_sys_ftruncate64_args {
+       syscallarg(unsigned int) fd;
+       syscallarg(uint32_t) lenlo;
+       syscallarg(uint32_t) lenhi;
+};
+check_syscall_args(linux32_sys_ftruncate64)
+
 struct linux32_sys_stat64_args {
        syscallarg(netbsd32_charp) path;
        syscallarg(linux32_stat64p) sp;
@@ -804,6 +837,20 @@
 };
 check_syscall_args(linux32_sys_clock_nanosleep)
 
+struct linux32_sys_statfs64_args {
+       syscallarg(netbsd32_charp) path;
+       syscallarg(netbsd32_size_t) sz;
+       syscallarg(linux32_statfs64p) sp;
+};
+check_syscall_args(linux32_sys_statfs64)
+
+struct linux32_sys_fstatfs64_args {
+       syscallarg(int) fd;
+       syscallarg(netbsd32_size_t) sz;
+       syscallarg(linux32_statfs64p) sp;
+};
+check_syscall_args(linux32_sys_fstatfs64)
+
 struct linux32_sys_tgkill_args {
        syscallarg(int) tgid;
        syscallarg(int) tid;
@@ -990,10 +1037,14 @@
 
 int    netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
 
+int    netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
+
 int    linux32_sys_statfs(struct lwp *, const struct linux32_sys_statfs_args *, register_t *);
 
 int    linux32_sys_fstatfs(struct lwp *, const struct linux32_sys_fstatfs_args *, register_t *);
 
+int    linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
+
 int    linux32_sys_socketcall(struct lwp *, const struct linux32_sys_socketcall_args *, register_t *);
 
 int    compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
@@ -1008,6 +1059,8 @@
 
 int    linux32_sys_olduname(struct lwp *, const struct linux32_sys_olduname_args *, register_t *);
 
+int    linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *);
+
 int    linux32_sys_wait4(struct lwp *, const struct linux32_sys_wait4_args *, register_t *);
 
 int    linux32_sys_swapoff(struct lwp *, const struct linux32_sys_swapoff_args *, register_t *);
@@ -1022,8 +1075,12 @@
 
 int    linux32_sys_clone(struct lwp *, const struct linux32_sys_clone_args *, register_t *);
 
+int    linux32_sys_setdomainname(struct lwp *, const struct linux32_sys_setdomainname_args *, register_t *);
+
 int    linux32_sys_uname(struct lwp *, const struct linux32_sys_uname_args *, register_t *);
 
+int    linux32_sys_modify_ldt(struct lwp *, const struct linux32_sys_modify_ldt_args *, register_t *);
+
 int    linux32_sys_mprotect(struct lwp *, const struct linux32_sys_mprotect_args *, register_t *);
 
 int    netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
@@ -1118,6 +1175,10 @@
 
 int    linux32_sys_mmap2(struct lwp *, const struct linux32_sys_mmap2_args *, register_t *);
 
+int    linux32_sys_truncate64(struct lwp *, const struct linux32_sys_truncate64_args *, register_t *);
+
+int    linux32_sys_ftruncate64(struct lwp *, const struct linux32_sys_ftruncate64_args *, register_t *);
+
 int    linux32_sys_stat64(struct lwp *, const struct linux32_sys_stat64_args *, register_t *);
 
 int    linux32_sys_lstat64(struct lwp *, const struct linux32_sys_lstat64_args *, register_t *);
@@ -1182,6 +1243,10 @@
 
 int    linux32_sys_clock_nanosleep(struct lwp *, const struct linux32_sys_clock_nanosleep_args *, register_t *);
 
+int    linux32_sys_statfs64(struct lwp *, const struct linux32_sys_statfs64_args *, register_t *);
+
+int    linux32_sys_fstatfs64(struct lwp *, const struct linux32_sys_fstatfs64_args *, register_t *);
+
 int    linux32_sys_tgkill(struct lwp *, const struct linux32_sys_tgkill_args *, register_t *);
 
 int    linux32_sys_set_robust_list(struct lwp *, const struct linux32_sys_set_robust_list_args *, register_t *);
diff -r 57b07a41fe1d -r 87b5f2404dda sys/compat/linux32/arch/amd64/linux32_syscalls.c
--- a/sys/compat/linux32/arch/amd64/linux32_syscalls.c  Tue Nov 02 18:14:05 2010 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_syscalls.c  Tue Nov 02 18:15:39 2010 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux32_syscalls.c,v 1.59 2010/07/07 01:31:55 chs Exp $ */
+/* $NetBSD: linux32_syscalls.c,v 1.60 2010/11/02 18:15:39 chs Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.56 2010/07/07 01:30:35 chs Exp
+ * created from        NetBSD: syscalls.master,v 1.57 2010/11/02 18:14:06 chs Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.59 2010/07/07 01:31:55 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.60 2010/11/02 18:15:39 chs Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -133,10 +133,10 @@
        /*  95 */       "fchown16",
        /*  96 */       "getpriority",
        /*  97 */       "netbsd32_setpriority",
-       /*  98 */       "#98 (unimplemented profil)",
+       /*  98 */       "netbsd32_profil",
        /*  99 */       "statfs",
        /* 100 */       "fstatfs",
-       /* 101 */       "#101 (unimplemented ioperm)",
+       /* 101 */       "ioperm",
        /* 102 */       "socketcall",
        /* 103 */       "#103 (unimplemented syslog)",
        /* 104 */       "compat_50_netbsd32_setitimer",
@@ -145,7 +145,7 @@
        /* 107 */       "lstat",
        /* 108 */       "fstat",
        /* 109 */       "olduname",
-       /* 110 */       "#110 (unimplemented iopl)",
+       /* 110 */       "iopl",
        /* 111 */       "#111 (unimplemented vhangup)",
        /* 112 */       "#112 (unimplemented idle)",
        /* 113 */       "#113 (unimplemented vm86old)",
@@ -156,9 +156,9 @@



Home | Main Index | Thread Index | Old Index