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/mips Regen



details:   https://anonhg.NetBSD.org/src/rev/f090afd8bc15
branches:  trunk
changeset: 522288:f090afd8bc15
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 15 16:50:35 2002 +0000

description:
Regen

diffstat:

 sys/compat/linux/arch/mips/linux_syscall.h     |   27 ++-
 sys/compat/linux/arch/mips/linux_syscallargs.h |  217 +++++++++++++++++++++++-
 sys/compat/linux/arch/mips/linux_syscalls.c    |  231 ++++++++++++++++++++++++-
 sys/compat/linux/arch/mips/linux_sysent.c      |   14 +-
 4 files changed, 474 insertions(+), 15 deletions(-)

diffs (truncated from 562 to 300 lines):

diff -r 51aa51333a0f -r f090afd8bc15 sys/compat/linux/arch/mips/linux_syscall.h
--- a/sys/compat/linux/arch/mips/linux_syscall.h        Fri Feb 15 16:50:13 2002 +0000
+++ b/sys/compat/linux/arch/mips/linux_syscall.h        Fri Feb 15 16:50:35 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.7 2002/02/15 16:48:01 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.8 2002/02/15 16:50:35 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.4 2001/11/20 21:37:51 manu Exp   
+ * created from        NetBSD: syscalls.master,v 1.6 2002/02/15 16:50:13 christos Exp   
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -506,4 +506,25 @@
 /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
 #define        LINUX_SYS_sigaltstack   206
 
-#define        LINUX_SYS_MAXSYSCALL    210
+/* syscall: "ugetrlimit" ret: "int" args: "int" "struct rlimit *" */
+#define        LINUX_SYS_ugetrlimit    209
+
+/* syscall: "mmap2" ret: "off_t" args: "void *" "size_t" "int" "int" "int" "off_t" */
+#define        LINUX_SYS_mmap2 210
+
+/* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
+#define        LINUX_SYS_truncate64    211
+
+/* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
+#define        LINUX_SYS_stat64        213
+
+/* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
+#define        LINUX_SYS_lstat64       214
+
+/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
+#define        LINUX_SYS_fstat64       215
+
+/* syscall: "fcntl64" ret: "int" args: "unsigned int" "unsigned int" "unsigned long" */
+#define        LINUX_SYS_fcntl64       220
+
+#define        LINUX_SYS_MAXSYSCALL    221
diff -r 51aa51333a0f -r f090afd8bc15 sys/compat/linux/arch/mips/linux_syscallargs.h
--- a/sys/compat/linux/arch/mips/linux_syscallargs.h    Fri Feb 15 16:50:13 2002 +0000
+++ b/sys/compat/linux/arch/mips/linux_syscallargs.h    Fri Feb 15 16:50:35 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.7 2002/02/15 16:48:01 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.8 2002/02/15 16:50:35 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.4 2001/11/20 21:37:51 manu Exp   
+ * created from        NetBSD: syscalls.master,v 1.6 2002/02/15 16:50:13 christos Exp   
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -493,3 +493,216 @@
        syscallarg(const struct linux_sigaltstack *) ss;
        syscallarg(struct linux_sigaltstack *) oss;
 };
+
+struct linux_sys_mmap2_args {
+       syscallarg(void *) addr;
+       syscallarg(size_t) len;
+       syscallarg(int) prot;
+       syscallarg(int) flags;
+       syscallarg(int) fd;
+       syscallarg(off_t) offset;
+};
+
+struct linux_sys_truncate64_args {
+       syscallarg(const char *) path;
+       syscallarg(off_t) length;
+};
+
+struct linux_sys_stat64_args {
+       syscallarg(const char *) path;
+       syscallarg(struct linux_stat64 *) sp;
+};
+
+struct linux_sys_lstat64_args {
+       syscallarg(const char *) path;
+       syscallarg(struct linux_stat64 *) sp;
+};
+
+struct linux_sys_fstat64_args {
+       syscallarg(int) fd;
+       syscallarg(struct linux_stat64 *) sp;
+};
+
+struct linux_sys_fcntl64_args {
+       syscallarg(unsigned int) fd;
+       syscallarg(unsigned int) cmd;
+       syscallarg(unsigned long) arg;
+};
+
+/*
+ * System call prototypes.
+ */
+
+int    linux_sys_nosys(struct proc *, void *, register_t *);
+int    sys_exit(struct proc *, void *, register_t *);
+int    sys_fork(struct proc *, void *, register_t *);
+int    sys_read(struct proc *, void *, register_t *);
+int    sys_write(struct proc *, void *, register_t *);
+int    linux_sys_open(struct proc *, void *, register_t *);
+int    sys_close(struct proc *, void *, register_t *);
+int    linux_sys_waitpid(struct proc *, void *, register_t *);
+int    linux_sys_creat(struct proc *, void *, register_t *);
+int    linux_sys_link(struct proc *, void *, register_t *);
+int    linux_sys_unlink(struct proc *, void *, register_t *);
+int    linux_sys_execve(struct proc *, void *, register_t *);
+int    linux_sys_chdir(struct proc *, void *, register_t *);
+int    linux_sys_time(struct proc *, void *, register_t *);
+int    linux_sys_mknod(struct proc *, void *, register_t *);
+int    linux_sys_chmod(struct proc *, void *, register_t *);
+int    linux_sys_lchown(struct proc *, void *, register_t *);
+int    compat_43_sys_lseek(struct proc *, void *, register_t *);
+int    sys_getpid(struct proc *, void *, register_t *);
+int    sys_setuid(struct proc *, void *, register_t *);
+int    sys_getuid(struct proc *, void *, register_t *);
+int    linux_sys_stime(struct proc *, void *, register_t *);
+int    linux_sys_ptrace(struct proc *, void *, register_t *);
+int    linux_sys_alarm(struct proc *, void *, register_t *);
+int    linux_sys_pause(struct proc *, void *, register_t *);
+int    linux_sys_utime(struct proc *, void *, register_t *);
+int    linux_sys_access(struct proc *, void *, register_t *);
+int    linux_sys_nice(struct proc *, void *, register_t *);
+int    sys_sync(struct proc *, void *, register_t *);
+int    linux_sys_kill(struct proc *, void *, register_t *);
+int    linux_sys_rename(struct proc *, void *, register_t *);
+int    linux_sys_mkdir(struct proc *, void *, register_t *);
+int    linux_sys_rmdir(struct proc *, void *, register_t *);
+int    sys_dup(struct proc *, void *, register_t *);
+int    linux_sys_pipe(struct proc *, void *, register_t *);
+int    linux_sys_times(struct proc *, void *, register_t *);
+int    linux_sys_brk(struct proc *, void *, register_t *);
+int    sys_setgid(struct proc *, void *, register_t *);
+int    sys_getgid(struct proc *, void *, register_t *);
+int    linux_sys_signal(struct proc *, void *, register_t *);
+int    sys_geteuid(struct proc *, void *, register_t *);
+int    sys_getegid(struct proc *, void *, register_t *);
+int    sys_acct(struct proc *, void *, register_t *);
+int    linux_sys_ioctl(struct proc *, void *, register_t *);
+int    linux_sys_fcntl(struct proc *, void *, register_t *);
+int    sys_setpgid(struct proc *, void *, register_t *);
+int    linux_sys_olduname(struct proc *, void *, register_t *);
+int    sys_umask(struct proc *, void *, register_t *);
+int    sys_chroot(struct proc *, void *, register_t *);
+int    sys_dup2(struct proc *, void *, register_t *);
+int    sys_getppid(struct proc *, void *, register_t *);
+int    sys_getpgrp(struct proc *, void *, register_t *);
+int    sys_setsid(struct proc *, void *, register_t *);
+int    linux_sys_sigaction(struct proc *, void *, register_t *);
+int    linux_sys_siggetmask(struct proc *, void *, register_t *);
+int    linux_sys_sigsetmask(struct proc *, void *, register_t *);
+int    sys_setreuid(struct proc *, void *, register_t *);
+int    sys_setregid(struct proc *, void *, register_t *);
+int    linux_sys_sigsuspend(struct proc *, void *, register_t *);
+int    linux_sys_sigpending(struct proc *, void *, register_t *);
+int    compat_43_sys_sethostname(struct proc *, void *, register_t *);
+int    compat_43_sys_setrlimit(struct proc *, void *, register_t *);
+int    compat_43_sys_getrlimit(struct proc *, void *, register_t *);
+int    sys_getrusage(struct proc *, void *, register_t *);
+int    linux_sys_gettimeofday(struct proc *, void *, register_t *);
+int    linux_sys_settimeofday(struct proc *, void *, register_t *);
+int    sys_getgroups(struct proc *, void *, register_t *);
+int    sys_setgroups(struct proc *, void *, register_t *);
+int    linux_sys_symlink(struct proc *, void *, register_t *);
+int    compat_43_sys_lstat(struct proc *, void *, register_t *);
+int    linux_sys_readlink(struct proc *, void *, register_t *);
+int    linux_sys_swapon(struct proc *, void *, register_t *);
+int    linux_sys_reboot(struct proc *, void *, register_t *);
+int    linux_sys_readdir(struct proc *, void *, register_t *);
+int    linux_sys_mmap(struct proc *, void *, register_t *);
+int    sys_munmap(struct proc *, void *, register_t *);
+int    linux_sys_truncate(struct proc *, void *, register_t *);
+int    compat_43_sys_ftruncate(struct proc *, void *, register_t *);
+int    sys_fchmod(struct proc *, void *, register_t *);
+int    sys___posix_fchown(struct proc *, void *, register_t *);
+int    sys_getpriority(struct proc *, void *, register_t *);
+int    sys_setpriority(struct proc *, void *, register_t *);
+int    linux_sys_statfs(struct proc *, void *, register_t *);
+int    linux_sys_fstatfs(struct proc *, void *, register_t *);
+int    linux_sys_ioperm(struct proc *, void *, register_t *);
+int    linux_sys_socketcall(struct proc *, void *, register_t *);
+int    sys_setitimer(struct proc *, void *, register_t *);
+int    sys_getitimer(struct proc *, void *, register_t *);
+int    linux_sys_stat(struct proc *, void *, register_t *);
+int    linux_sys_lstat(struct proc *, void *, register_t *);
+int    linux_sys_fstat(struct proc *, void *, register_t *);
+int    linux_sys_uname(struct proc *, void *, register_t *);
+int    linux_sys_wait4(struct proc *, void *, register_t *);
+int    linux_sys_swapoff(struct proc *, void *, register_t *);
+int    linux_sys_sysinfo(struct proc *, void *, register_t *);
+int    linux_sys_ipc(struct proc *, void *, register_t *);
+int    sys_fsync(struct proc *, void *, register_t *);
+int    linux_sys_sigreturn(struct proc *, void *, register_t *);
+int    linux_sys_clone(struct proc *, void *, register_t *);
+int    linux_sys_setdomainname(struct proc *, void *, register_t *);
+int    linux_sys_new_uname(struct proc *, void *, register_t *);
+int    sys_mprotect(struct proc *, void *, register_t *);
+int    linux_sys_sigprocmask(struct proc *, void *, register_t *);
+int    linux_sys_getpgid(struct proc *, void *, register_t *);
+int    sys_fchdir(struct proc *, void *, register_t *);
+int    linux_sys_personality(struct proc *, void *, register_t *);
+int    linux_sys_setfsuid(struct proc *, void *, register_t *);
+int    linux_sys_getfsuid(struct proc *, void *, register_t *);
+int    linux_sys_llseek(struct proc *, void *, register_t *);
+int    linux_sys_getdents(struct proc *, void *, register_t *);
+int    linux_sys_select(struct proc *, void *, register_t *);
+int    sys_flock(struct proc *, void *, register_t *);
+int    linux_sys_msync(struct proc *, void *, register_t *);
+int    sys_readv(struct proc *, void *, register_t *);
+int    sys_writev(struct proc *, void *, register_t *);
+int    linux_sys_cacheflush(struct proc *, void *, register_t *);
+int    linux_sys_sysmips(struct proc *, void *, register_t *);
+int    sys_getsid(struct proc *, void *, register_t *);
+int    linux_sys_fdatasync(struct proc *, void *, register_t *);
+int    linux_sys___sysctl(struct proc *, void *, register_t *);
+int    sys_mlock(struct proc *, void *, register_t *);
+int    sys_munlock(struct proc *, void *, register_t *);
+int    sys_mlockall(struct proc *, void *, register_t *);
+int    sys_munlockall(struct proc *, void *, register_t *);
+int    linux_sys_sched_setparam(struct proc *, void *, register_t *);
+int    linux_sys_sched_getparam(struct proc *, void *, register_t *);
+int    linux_sys_sched_setscheduler(struct proc *, void *, register_t *);
+int    linux_sys_sched_getscheduler(struct proc *, void *, register_t *);
+int    linux_sys_sched_yield(struct proc *, void *, register_t *);
+int    linux_sys_sched_get_priority_max(struct proc *, void *, register_t *);
+int    linux_sys_sched_get_priority_min(struct proc *, void *, register_t *);
+int    sys_nanosleep(struct proc *, void *, register_t *);
+int    linux_sys_mremap(struct proc *, void *, register_t *);
+int    linux_sys_accept(struct proc *, void *, register_t *);
+int    linux_sys_bind(struct proc *, void *, register_t *);
+int    linux_sys_connect(struct proc *, void *, register_t *);
+int    linux_sys_getpeername(struct proc *, void *, register_t *);
+int    linux_sys_getsockname(struct proc *, void *, register_t *);
+int    linux_sys_getsockopt(struct proc *, void *, register_t *);
+int    sys_listen(struct proc *, void *, register_t *);
+int    linux_sys_recv(struct proc *, void *, register_t *);
+int    linux_sys_recvfrom(struct proc *, void *, register_t *);
+int    linux_sys_recvmsg(struct proc *, void *, register_t *);
+int    linux_sys_send(struct proc *, void *, register_t *);
+int    linux_sys_sendmsg(struct proc *, void *, register_t *);
+int    linux_sys_sendto(struct proc *, void *, register_t *);
+int    linux_sys_setsockopt(struct proc *, void *, register_t *);
+int    linux_sys_socket(struct proc *, void *, register_t *);
+int    linux_sys_socketpair(struct proc *, void *, register_t *);
+int    linux_sys_setresuid(struct proc *, void *, register_t *);
+int    linux_sys_getresuid(struct proc *, void *, register_t *);
+int    sys_poll(struct proc *, void *, register_t *);
+int    linux_sys_setresgid(struct proc *, void *, register_t *);
+int    linux_sys_getresgid(struct proc *, void *, register_t *);
+int    linux_sys_rt_sigreturn(struct proc *, void *, register_t *);
+int    linux_sys_rt_sigaction(struct proc *, void *, register_t *);
+int    linux_sys_rt_sigprocmask(struct proc *, void *, register_t *);
+int    linux_sys_rt_sigpending(struct proc *, void *, register_t *);
+int    linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
+int    linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
+int    linux_sys_pread(struct proc *, void *, register_t *);
+int    linux_sys_pwrite(struct proc *, void *, register_t *);
+int    linux_sys_chown(struct proc *, void *, register_t *);
+int    sys___getcwd(struct proc *, void *, register_t *);
+int    linux_sys_sigaltstack(struct proc *, void *, register_t *);
+int    linux_sys_ugetrlimit(struct proc *, void *, register_t *);
+int    linux_sys_mmap2(struct proc *, void *, register_t *);
+int    linux_sys_truncate64(struct proc *, void *, register_t *);
+int    linux_sys_stat64(struct proc *, void *, register_t *);
+int    linux_sys_lstat64(struct proc *, void *, register_t *);
+int    linux_sys_fstat64(struct proc *, void *, register_t *);
+int    linux_sys_fcntl64(struct proc *, void *, register_t *);
+#endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r 51aa51333a0f -r f090afd8bc15 sys/compat/linux/arch/mips/linux_syscalls.c
--- a/sys/compat/linux/arch/mips/linux_syscalls.c       Fri Feb 15 16:50:13 2002 +0000
+++ b/sys/compat/linux/arch/mips/linux_syscalls.c       Fri Feb 15 16:50:35 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.7 2002/02/15 16:48:01 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.8 2002/02/15 16:50:35 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.4 2001/11/20 21:37:51 manu Exp   
+ * created from        NetBSD: syscalls.master,v 1.6 2002/02/15 16:50:13 christos Exp   
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.7 2002/02/15 16:48:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.8 2002/02/15 16:50:35 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -28,3 +28,228 @@
 #include <compat/linux/common/linux_mmap.h>
 #include <compat/linux/common/linux_socketcall.h>



Home | Main Index | Thread Index | Old Index