Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/freebsd Regen: add new syscalls to the list



details:   https://anonhg.NetBSD.org/src/rev/c532fae36f01
branches:  trunk
changeset: 555746:c532fae36f01
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Nov 26 19:23:29 2003 +0000

description:
Regen: add new syscalls to the list

diffstat:

 sys/compat/freebsd/freebsd_syscall.h     |   42 ++++-
 sys/compat/freebsd/freebsd_syscallargs.h |  259 ++++++++++++++++++++++++++++++-
 sys/compat/freebsd/freebsd_syscalls.c    |   95 +++++++++++-
 sys/compat/freebsd/freebsd_sysent.c      |  194 ++++++++++++----------
 4 files changed, 494 insertions(+), 96 deletions(-)

diffs (truncated from 1026 to 300 lines):

diff -r 0526c11a5447 -r c532fae36f01 sys/compat/freebsd/freebsd_syscall.h
--- a/sys/compat/freebsd/freebsd_syscall.h      Wed Nov 26 19:22:57 2003 +0000
+++ b/sys/compat/freebsd/freebsd_syscall.h      Wed Nov 26 19:23:29 2003 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscall.h,v 1.51 2003/09/18 14:50:07 pooka Exp $ */
+/* $NetBSD: freebsd_syscall.h,v 1.52 2003/11/26 19:23:29 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.41 2003/09/18 14:44:09 pooka Exp 
+ * created from        NetBSD: syscalls.master,v 1.42 2003/11/26 19:22:57 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -759,5 +759,41 @@
 /* syscall: "__sigpending14" ret: "int" args: "const sigset_t *" */
 #define        FREEBSD_SYS___sigpending14      343
 
-#define        FREEBSD_SYS_MAXSYSCALL  364
+/* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */
+#define        FREEBSD_SYS_lchflags    391
+
+#if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
+/* syscall: "_ksem_close" ret: "int" args: "semid_t" */
+#define        FREEBSD_SYS__ksem_close 400
+
+/* syscall: "_ksem_post" ret: "int" args: "semid_t" */
+#define        FREEBSD_SYS__ksem_post  401
+
+/* syscall: "_ksem_wait" ret: "int" args: "semid_t" */
+#define        FREEBSD_SYS__ksem_wait  402
+
+/* syscall: "_ksem_trywait" ret: "int" args: "semid_t" */
+#define        FREEBSD_SYS__ksem_trywait       403
+
+/* syscall: "_ksem_unlink" ret: "int" args: "const char *" */
+#define        FREEBSD_SYS__ksem_unlink        406
+
+/* syscall: "_ksem_getvalue" ret: "int" args: "semid_t" "unsigned int *" */
+#define        FREEBSD_SYS__ksem_getvalue      407
+
+/* syscall: "_ksem_destroy" ret: "int" args: "semid_t" */
+#define        FREEBSD_SYS__ksem_destroy       408
+
+#else
+                               /* 400 is excluded ksem_close */
+                               /* 401 is excluded ksem_post */
+                               /* 402 is excluded ksem_wait */
+                               /* 403 is excluded ksem_trywait */
+                               /* 404 is excluded ksem_init */
+                               /* 405 is excluded ksem_open */
+                               /* 406 is excluded ksem_unlink */
+                               /* 407 is excluded ksem_getvalue */
+                               /* 408 is excluded ksem_destroy */
+#endif
+#define        FREEBSD_SYS_MAXSYSCALL  440
 #define        FREEBSD_SYS_NSYSENT     512
diff -r 0526c11a5447 -r c532fae36f01 sys/compat/freebsd/freebsd_syscallargs.h
--- a/sys/compat/freebsd/freebsd_syscallargs.h  Wed Nov 26 19:22:57 2003 +0000
+++ b/sys/compat/freebsd/freebsd_syscallargs.h  Wed Nov 26 19:23:29 2003 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: freebsd_syscallargs.h,v 1.53 2003/09/18 14:50:08 pooka Exp $ */
+/* $NetBSD: freebsd_syscallargs.h,v 1.54 2003/11/26 19:23:29 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.41 2003/09/18 14:44:09 pooka Exp 
+ * created from        NetBSD: syscalls.master,v 1.42 2003/11/26 19:22:57 jdolecek Exp 
  */
 
 #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
@@ -341,284 +341,535 @@
        syscallarg(const struct freebsd_sigaction4 *) nsa;
        syscallarg(struct freebsd_sigaction4 *) osa;
 };
+#if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
+#else
+#endif
 
 /*
  * System call prototypes.
  */
 
 int    sys_nosys(struct lwp *, void *, register_t *);
+
 int    sys_exit(struct lwp *, void *, register_t *);
+
 int    sys_fork(struct lwp *, void *, register_t *);
+
 int    sys_read(struct lwp *, void *, register_t *);
+
 int    sys_write(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_open(struct lwp *, void *, register_t *);
+
 int    sys_close(struct lwp *, void *, register_t *);
+
 int    sys_wait4(struct lwp *, void *, register_t *);
+
 int    compat_43_freebsd_sys_creat(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_link(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_unlink(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_chdir(struct lwp *, void *, register_t *);
+
 int    sys_fchdir(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_mknod(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_chmod(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_chown(struct lwp *, void *, register_t *);
+
 int    sys_obreak(struct lwp *, void *, register_t *);
+
 int    sys_getfsstat(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_lseek(struct lwp *, void *, register_t *);
+
 int    sys_getpid_with_ppid(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_mount(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_unmount(struct lwp *, void *, register_t *);
+
 int    sys_setuid(struct lwp *, void *, register_t *);
+
 int    sys_getuid_with_euid(struct lwp *, void *, register_t *);
+
 int    sys_geteuid(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_ptrace(struct lwp *, void *, register_t *);
+
 int    sys_recvmsg(struct lwp *, void *, register_t *);
+
 int    sys_sendmsg(struct lwp *, void *, register_t *);
+
 int    sys_recvfrom(struct lwp *, void *, register_t *);
+
 int    sys_accept(struct lwp *, void *, register_t *);
+
 int    sys_getpeername(struct lwp *, void *, register_t *);
+
 int    sys_getsockname(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_access(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_chflags(struct lwp *, void *, register_t *);
+
 int    sys_fchflags(struct lwp *, void *, register_t *);
+
 int    sys_sync(struct lwp *, void *, register_t *);
+
 int    sys_kill(struct lwp *, void *, register_t *);
+
 int    compat_43_freebsd_sys_stat(struct lwp *, void *, register_t *);
+
 int    sys_getppid(struct lwp *, void *, register_t *);
+
 int    compat_43_freebsd_sys_lstat(struct lwp *, void *, register_t *);
+
 int    sys_dup(struct lwp *, void *, register_t *);
+
 int    sys_pipe(struct lwp *, void *, register_t *);
+
 int    sys_getegid(struct lwp *, void *, register_t *);
+
 int    sys_profil(struct lwp *, void *, register_t *);
+
 #ifdef KTRACE
 int    sys_ktrace(struct lwp *, void *, register_t *);
+
 #else
 #endif
 int    compat_13_sys_sigaction(struct lwp *, void *, register_t *);
+
 int    sys_getgid_with_egid(struct lwp *, void *, register_t *);
+
 int    compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
+
 int    sys___getlogin(struct lwp *, void *, register_t *);
+
 int    sys___setlogin(struct lwp *, void *, register_t *);
+
 int    sys_acct(struct lwp *, void *, register_t *);
+
 int    compat_13_sys_sigpending(struct lwp *, void *, register_t *);
+
 int    compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_ioctl(struct lwp *, void *, register_t *);
+
 int    sys_reboot(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_revoke(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_symlink(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_readlink(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_execve(struct lwp *, void *, register_t *);
+
 int    sys_umask(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_chroot(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_fstat(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_msync(struct lwp *, void *, register_t *);
+
 int    sys_vfork(struct lwp *, void *, register_t *);
+
 int    sys_sbrk(struct lwp *, void *, register_t *);
+
 int    sys_sstk(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_mmap(struct lwp *, void *, register_t *);
+
 int    sys_ovadvise(struct lwp *, void *, register_t *);
+
 int    sys_munmap(struct lwp *, void *, register_t *);
+
 int    sys_mprotect(struct lwp *, void *, register_t *);
+
 int    sys_madvise(struct lwp *, void *, register_t *);
+
 int    sys_mincore(struct lwp *, void *, register_t *);
+
 int    sys_getgroups(struct lwp *, void *, register_t *);
+
 int    sys_setgroups(struct lwp *, void *, register_t *);
+
 int    sys_getpgrp(struct lwp *, void *, register_t *);
+
 int    sys_setpgid(struct lwp *, void *, register_t *);
+
 int    sys_setitimer(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_wait(struct lwp *, void *, register_t *);
+
 int    compat_12_sys_swapon(struct lwp *, void *, register_t *);
+
 int    sys_getitimer(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_gethostname(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_sethostname(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
+
 int    sys_dup2(struct lwp *, void *, register_t *);
+
 int    sys_fcntl(struct lwp *, void *, register_t *);
+
 int    sys_select(struct lwp *, void *, register_t *);
+
 int    sys_fsync(struct lwp *, void *, register_t *);
+
 int    sys_setpriority(struct lwp *, void *, register_t *);
+
 int    sys_socket(struct lwp *, void *, register_t *);
+
 int    sys_connect(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_accept(struct lwp *, void *, register_t *);
+
 int    sys_getpriority(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_send(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_recv(struct lwp *, void *, register_t *);
+
 int    freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
+
 int    sys_bind(struct lwp *, void *, register_t *);
+
 int    sys_setsockopt(struct lwp *, void *, register_t *);
+
 int    sys_listen(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_sigvec(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_sigblock(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
+
 int    compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
+
 int    compat_43_sys_sigstack(struct lwp *, void *, register_t *);
+



Home | Main Index | Thread Index | Old Index