Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/kern/lib/libsys_cygwin regen
details: https://anonhg.NetBSD.org/src/rev/e01b05a9fdc6
branches: trunk
changeset: 336639:e01b05a9fdc6
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 08 15:19:40 2015 +0000
description:
regen
diffstat:
sys/rump/kern/lib/libsys_cygwin/Makefile | 5 +-
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscall.h | 2 +-
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscallargs.h | 2 +-
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscalls.c | 4 +-
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_sysent.c | 2660 +++++++-----
5 files changed, 1641 insertions(+), 1032 deletions(-)
diffs (truncated from 2733 to 300 lines):
diff -r 502bc9fb60fa -r e01b05a9fdc6 sys/rump/kern/lib/libsys_cygwin/Makefile
--- a/sys/rump/kern/lib/libsys_cygwin/Makefile Sun Mar 08 15:07:33 2015 +0000
+++ b/sys/rump/kern/lib/libsys_cygwin/Makefile Sun Mar 08 15:19:40 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/03/13 02:03:16 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2015/03/08 15:19:40 christos Exp $
#
LIB= rumpkern_sys_cygwin
@@ -11,3 +11,6 @@
.include <bsd.lib.mk>
.include <bsd.klinks.mk>
+
+SYS_P=rump_cygwin_sys
+.include "../Makefile.sys"
diff -r 502bc9fb60fa -r e01b05a9fdc6 sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscall.h
--- a/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscall.h Sun Mar 08 15:07:33 2015 +0000
+++ b/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscall.h Sun Mar 08 15:19:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_cygwin_syscall.h,v 1.2 2013/05/15 21:41:25 pooka Exp $ */
+/* $NetBSD: rump_cygwin_syscall.h,v 1.3 2015/03/08 15:19:40 christos Exp $ */
/*
* System call numbers.
diff -r 502bc9fb60fa -r e01b05a9fdc6 sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscallargs.h
--- a/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscallargs.h Sun Mar 08 15:07:33 2015 +0000
+++ b/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscallargs.h Sun Mar 08 15:19:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_cygwin_syscallargs.h,v 1.2 2013/05/15 21:41:25 pooka Exp $ */
+/* $NetBSD: rump_cygwin_syscallargs.h,v 1.3 2015/03/08 15:19:40 christos Exp $ */
/*
* System call argument lists.
diff -r 502bc9fb60fa -r e01b05a9fdc6 sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscalls.c
--- a/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscalls.c Sun Mar 08 15:07:33 2015 +0000
+++ b/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_syscalls.c Sun Mar 08 15:19:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_cygwin_syscalls.c,v 1.2 2013/05/15 21:41:25 pooka Exp $ */
+/* $NetBSD: rump_cygwin_syscalls.c,v 1.3 2015/03/08 15:19:40 christos Exp $ */
/*
* System call names.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_cygwin_syscalls.c,v 1.2 2013/05/15 21:41:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_cygwin_syscalls.c,v 1.3 2015/03/08 15:19:40 christos Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
diff -r 502bc9fb60fa -r e01b05a9fdc6 sys/rump/kern/lib/libsys_cygwin/rump_cygwin_sysent.c
--- a/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_sysent.c Sun Mar 08 15:07:33 2015 +0000
+++ b/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_sysent.c Sun Mar 08 15:19:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_cygwin_sysent.c,v 1.2 2013/05/15 21:41:25 pooka Exp $ */
+/* $NetBSD: rump_cygwin_sysent.c,v 1.3 2015/03/08 15:19:40 christos Exp $ */
/*
* System call switch table.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_cygwin_sysent.c,v 1.2 2013/05/15 21:41:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_cygwin_sysent.c,v 1.3 2015/03/08 15:19:40 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -21,1031 +21,1637 @@
#define s(type) sizeof(type)
#define n(type) (sizeof(type)/sizeof (register_t))
-#define ns(type) n(type), s(type)
+#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
struct sysent rump_cygwin_sysent[] = {
- { 0, 0, 0,
- (sy_call_t *)sys_nosys }, /* 0 = nosys */
- { 0, 0, 0,
- sys_nosys }, /* 1 = unimplemented exit */
- { 0, 0, 0,
- sys_nosys }, /* 2 = unimplemented fork */
- { ns(struct sys_read_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_read }, /* 3 = read */
- { ns(struct sys_write_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_write }, /* 4 = write */
- { ns(struct rump_cygwin_sys_open_args), SYCALL_ARG_PTR,
- (sy_call_t *)rump_cygwin_sys_open },/* 5 = open */
- { ns(struct sys_close_args), 0,
- (sy_call_t *)sys_close }, /* 6 = close */
- { 0, 0, 0,
- sys_nosys }, /* 7 = unimplemented wait4 */
- { 0, 0, 0,
- sys_nosys }, /* 8 = unimplemented creat */
- { ns(struct sys_link_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_link }, /* 9 = link */
- { ns(struct sys_unlink_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_unlink }, /* 10 = unlink */
- { 0, 0, 0,
- sys_nosys }, /* 11 = unimplemented execv */
- { ns(struct sys_chdir_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_chdir }, /* 12 = chdir */
- { ns(struct sys_fchdir_args), 0,
- (sy_call_t *)sys_fchdir }, /* 13 = fchdir */
- { 0, 0, 0,
- sys_nosys }, /* 14 = unimplemented mknod */
- { ns(struct sys_chmod_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_chmod }, /* 15 = chmod */
- { ns(struct sys_chown_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_chown }, /* 16 = chown */
- { 0, 0, 0,
- sys_nosys }, /* 17 = unimplemented obreak */
- { 0, 0, 0,
- sys_nosys }, /* 18 = unimplemented getfsstat */
- { 0, 0, 0,
- sys_nosys }, /* 19 = unimplemented lseek */
- { 0, 0, 0,
- (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid */
- { 0, 0, 0,
- sys_nosys }, /* 21 = unimplemented mount */
- { 0, 0, 0,
- sys_nosys }, /* 22 = unimplemented unmount */
- { ns(struct sys_setuid_args), 0,
- (sy_call_t *)sys_setuid }, /* 23 = setuid */
- { 0, 0, 0,
- (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid */
- { 0, 0, 0,
- (sy_call_t *)sys_geteuid }, /* 25 = geteuid */
- { 0, 0, 0,
- sys_nosys }, /* 26 = unimplemented ptrace */
- { 0, 0, 0,
- sys_nosys }, /* 27 = unimplemented recvmsg */
- { 0, 0, 0,
- sys_nosys }, /* 28 = unimplemented sendmsg */
- { 0, 0, 0,
- sys_nosys }, /* 29 = unimplemented recvfrom */
- { 0, 0, 0,
- sys_nosys }, /* 30 = unimplemented accept */
- { 0, 0, 0,
- sys_nosys }, /* 31 = unimplemented getpeername */
- { 0, 0, 0,
- sys_nosys }, /* 32 = unimplemented getsockname */
- { ns(struct sys_access_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_access }, /* 33 = access */
- { 0, 0, 0,
- sys_nosys }, /* 34 = unimplemented chflags */
- { 0, 0, 0,
- sys_nosys }, /* 35 = unimplemented fchflags */
- { 0, 0, 0,
- (sy_call_t *)sys_sync }, /* 36 = sync */
- { 0, 0, 0,
- sys_nosys }, /* 37 = unimplemented kill */
- { 0, 0, 0,
- sys_nosys }, /* 38 = unimplemented stat */
- { 0, 0, 0,
- sys_nosys }, /* 39 = unimplemented getppid */
- { 0, 0, 0,
- sys_nosys }, /* 40 = unimplemented lstat */
- { ns(struct sys_dup_args), 0,
- (sy_call_t *)sys_dup }, /* 41 = dup */
- { 0, 0, 0,
- (sy_call_t *)sys_pipe }, /* 42 = pipe */
- { 0, 0, 0,
- sys_nosys }, /* 43 = unimplemented getegid */
- { 0, 0, 0,
- sys_nosys }, /* 44 = unimplemented profil */
- { 0, 0, 0,
- sys_nosys }, /* 45 = unimplemented ktrace */
- { 0, 0, 0,
- sys_nosys }, /* 46 = unimplemented sigaction */
- { 0, 0, 0,
- (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid */
- { 0, 0, 0,
- sys_nosys }, /* 48 = unimplemented sigprocmask */
- { 0, 0, 0,
- sys_nosys }, /* 49 = unimplemented __getlogin */
- { 0, 0, 0,
- sys_nosys }, /* 50 = unimplemented __setlogin */
- { 0, 0, 0,
- sys_nosys }, /* 51 = unimplemented acct */
- { 0, 0, 0,
- sys_nosys }, /* 52 = unimplemented sigpending */
- { 0, 0, 0,
- sys_nosys }, /* 53 = unimplemented sigaltstack */
- { 0, 0, 0,
- sys_nosys }, /* 54 = unimplemented ioctl */
- { 0, 0, 0,
- sys_nosys }, /* 55 = unimplemented reboot */
- { 0, 0, 0,
- sys_nosys }, /* 56 = unimplemented revoke */
- { ns(struct sys_symlink_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_symlink }, /* 57 = symlink */
- { ns(struct sys_readlink_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_readlink }, /* 58 = readlink */
- { 0, 0, 0,
- sys_nosys }, /* 59 = unimplemented execve */
- { ns(struct sys_umask_args), 0,
- (sy_call_t *)sys_umask }, /* 60 = umask */
- { ns(struct sys_chroot_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_chroot }, /* 61 = chroot */
- { 0, 0, 0,
- sys_nosys }, /* 62 = unimplemented fstat43 */
- { 0, 0, 0,
- sys_nosys }, /* 63 = unimplemented getkerninfo */
- { 0, 0, 0,
- sys_nosys }, /* 64 = unimplemented getpagesize */
- { 0, 0, 0,
- sys_nosys }, /* 65 = unimplemented msync */
- { 0, 0, 0,
- sys_nosys }, /* 66 = unimplemented vfork */
- { 0, 0, 0,
- sys_nosys }, /* 67 = unimplemented vread */
- { 0, 0, 0,
- sys_nosys }, /* 68 = unimplemented vwrite */
- { 0, 0, 0,
- sys_nosys }, /* 69 = unimplemented sbrk */
- { 0, 0, 0,
- sys_nosys }, /* 70 = unimplemented sstk */
- { 0, 0, 0,
- sys_nosys }, /* 71 = unimplemented mmap */
- { 0, 0, 0,
- sys_nosys }, /* 72 = unimplemented ovadvise */
- { 0, 0, 0,
- sys_nosys }, /* 73 = unimplemented munmap */
- { 0, 0, 0,
- sys_nosys }, /* 74 = unimplemented mprotect */
- { 0, 0, 0,
- sys_nosys }, /* 75 = unimplemented madvise */
- { 0, 0, 0,
- sys_nosys }, /* 76 = unimplemented vhangup */
- { 0, 0, 0,
- sys_nosys }, /* 77 = unimplemented vlimit */
- { 0, 0, 0,
- sys_nosys }, /* 78 = unimplemented mincore */
- { ns(struct sys_getgroups_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_getgroups }, /* 79 = getgroups */
- { ns(struct sys_setgroups_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_setgroups }, /* 80 = setgroups */
- { 0, 0, 0,
- (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
- { ns(struct sys_setpgid_args), 0,
- (sy_call_t *)sys_setpgid }, /* 82 = setpgid */
- { 0, 0, 0,
- sys_nosys }, /* 83 = unimplemented setitimer */
- { 0, 0, 0,
- sys_nosys }, /* 84 = unimplemented wait */
- { 0, 0, 0,
- sys_nosys }, /* 85 = unimplemented swapon */
- { 0, 0, 0,
- sys_nosys }, /* 86 = unimplemented getitimer */
- { 0, 0, 0,
- sys_nosys }, /* 87 = unimplemented gethostname */
- { 0, 0, 0,
- sys_nosys }, /* 88 = unimplemented sethostname */
- { 0, 0, 0,
- sys_nosys }, /* 89 = unimplemented getdtablesize */
- { ns(struct sys_dup2_args), 0,
- (sy_call_t *)sys_dup2 }, /* 90 = dup2 */
- { 0, 0, 0,
- sys_nosys }, /* 91 = unimplemented getdopt */
- { 0, 0, 0,
- sys_nosys }, /* 92 = unimplemented fcntl */
- { 0, 0, 0,
- sys_nosys }, /* 93 = unimplemented select */
- { 0, 0, 0,
- sys_nosys }, /* 94 = unimplemented setdopt */
- { ns(struct sys_fsync_args), 0,
- (sy_call_t *)sys_fsync }, /* 95 = fsync */
- { 0, 0, 0,
- sys_nosys }, /* 96 = unimplemented setpriority */
- { 0, 0, 0,
- sys_nosys }, /* 97 = unimplemented socket */
- { 0, 0, 0,
- sys_nosys }, /* 98 = unimplemented connect */
- { 0, 0, 0,
- sys_nosys }, /* 99 = unimplemented accept */
- { 0, 0, 0,
- sys_nosys }, /* 100 = unimplemented getpriority */
- { 0, 0, 0,
- sys_nosys }, /* 101 = unimplemented send */
- { 0, 0, 0,
- sys_nosys }, /* 102 = unimplemented recv */
- { 0, 0, 0,
- sys_nosys }, /* 103 = unimplemented sigreturn */
- { 0, 0, 0,
- sys_nosys }, /* 104 = unimplemented bind */
- { 0, 0, 0,
- sys_nosys }, /* 105 = unimplemented setsockopt */
- { 0, 0, 0,
- sys_nosys }, /* 106 = unimplemented listen */
- { 0, 0, 0,
- sys_nosys }, /* 107 = unimplemented vtimes */
- { 0, 0, 0,
- sys_nosys }, /* 108 = unimplemented sigvec */
- { 0, 0, 0,
- sys_nosys }, /* 109 = unimplemented sigblock */
- { 0, 0, 0,
- sys_nosys }, /* 110 = unimplemented sigsetmask */
Home |
Main Index |
Thread Index |
Old Index