Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys regen
details: https://anonhg.NetBSD.org/src/rev/ab6c13c0e442
branches: trunk
changeset: 328615:ab6c13c0e442
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Apr 09 23:57:26 2014 +0000
description:
regen
diffstat:
sys/kern/init_sysent.c | 6 +-
sys/kern/syscalls.c | 6 +-
sys/rump/include/rump/rump_syscalls.h | 45 +++++-
sys/rump/librump/rumpkern/rump_syscalls.c | 245 +++++++++++++++++++++++++++--
sys/sys/syscall.h | 4 +-
sys/sys/syscallargs.h | 30 +--
6 files changed, 284 insertions(+), 52 deletions(-)
diffs (truncated from 581 to 300 lines):
diff -r c900a564df3a -r ab6c13c0e442 sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Wed Apr 09 23:55:37 2014 +0000
+++ b/sys/kern/init_sysent.c Wed Apr 09 23:57:26 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.281 2014/03/14 00:56:37 pooka Exp $ */
+/* $NetBSD: init_sysent.c,v 1.282 2014/04/09 23:57:26 pooka Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.267 2014/03/14 00:52:08 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.268 2014/04/09 23:55:37 pooka Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.281 2014/03/14 00:56:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.282 2014/04/09 23:57:26 pooka Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
diff -r c900a564df3a -r ab6c13c0e442 sys/kern/syscalls.c
--- a/sys/kern/syscalls.c Wed Apr 09 23:55:37 2014 +0000
+++ b/sys/kern/syscalls.c Wed Apr 09 23:57:26 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.272 2014/03/14 00:56:37 pooka Exp $ */
+/* $NetBSD: syscalls.c,v 1.273 2014/04/09 23:57:26 pooka Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.267 2014/03/14 00:52:08 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.268 2014/04/09 23:55:37 pooka Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.272 2014/03/14 00:56:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.273 2014/04/09 23:57:26 pooka Exp $");
#if defined(_KERNEL_OPT)
#include "opt_modular.h"
diff -r c900a564df3a -r ab6c13c0e442 sys/rump/include/rump/rump_syscalls.h
--- a/sys/rump/include/rump/rump_syscalls.h Wed Apr 09 23:55:37 2014 +0000
+++ b/sys/rump/include/rump/rump_syscalls.h Wed Apr 09 23:57:26 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.h,v 1.73 2014/03/14 00:56:38 pooka Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.74 2014/04/09 23:57:26 pooka Exp $ */
/*
* System call protos in rump namespace.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.267 2014/03/14 00:52:08 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.268 2014/04/09 23:55:37 pooka Exp
*/
#ifndef _RUMP_RUMP_SYSCALLS_H_
@@ -228,6 +228,10 @@
#define RUMP_SYS_RENAME_SOCKETPAIR rump___sysimpl_socketpair
#endif
+#ifndef RUMP_SYS_RENAME_AIO_SUSPEND
+#define RUMP_SYS_RENAME_AIO_SUSPEND rump___sysimpl_aio_suspend50
+#endif
+
#ifndef RUMP_SYS_RENAME_POLLTS
#define RUMP_SYS_RENAME_POLLTS rump___sysimpl_pollts50
#endif
@@ -292,6 +296,10 @@
#define RUMP_SYS_RENAME_UNLINKAT rump___sysimpl_unlinkat
#endif
+#ifndef RUMP_SYS_RENAME_AIO_WRITE
+#define RUMP_SYS_RENAME_AIO_WRITE rump___sysimpl_aio_write
+#endif
+
#ifndef RUMP_SYS_RENAME__KSEM_OPEN
#define RUMP_SYS_RENAME__KSEM_OPEN rump___sysimpl__ksem_open
#endif
@@ -456,6 +464,10 @@
#define RUMP_SYS_RENAME_LINK rump___sysimpl_link
#endif
+#ifndef RUMP_SYS_RENAME_AIO_ERROR
+#define RUMP_SYS_RENAME_AIO_ERROR rump___sysimpl_aio_error
+#endif
+
#ifndef RUMP_SYS_RENAME_GETFH
#define RUMP_SYS_RENAME_GETFH rump___sysimpl_getfh30
#endif
@@ -508,6 +520,10 @@
#define RUMP_SYS_RENAME_SETTIMEOFDAY rump___sysimpl_settimeofday50
#endif
+#ifndef RUMP_SYS_RENAME_AIO_RETURN
+#define RUMP_SYS_RENAME_AIO_RETURN rump___sysimpl_aio_return
+#endif
+
#ifndef RUMP_SYS_RENAME_FHSTATVFS1
#define RUMP_SYS_RENAME_FHSTATVFS1 rump___sysimpl_fhstatvfs140
#endif
@@ -612,6 +628,14 @@
#define RUMP_SYS_RENAME_IOCTL rump___sysimpl_ioctl
#endif
+#ifndef RUMP_SYS_RENAME_LIO_LISTIO
+#define RUMP_SYS_RENAME_LIO_LISTIO rump___sysimpl_lio_listio
+#endif
+
+#ifndef RUMP_SYS_RENAME_AIO_FSYNC
+#define RUMP_SYS_RENAME_AIO_FSYNC rump___sysimpl_aio_fsync
+#endif
+
#ifndef RUMP_SYS_RENAME_ACCESS
#define RUMP_SYS_RENAME_ACCESS rump___sysimpl_access
#endif
@@ -676,6 +700,10 @@
#define RUMP_SYS_RENAME_SETREUID rump___sysimpl_setreuid
#endif
+#ifndef RUMP_SYS_RENAME_AIO_READ
+#define RUMP_SYS_RENAME_AIO_READ rump___sysimpl_aio_read
+#endif
+
#ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FILE
#define RUMP_SYS_RENAME_EXTATTR_LIST_FILE rump___sysimpl_extattr_list_file
#endif
@@ -732,6 +760,10 @@
#define RUMP_SYS_RENAME_STAT rump___sysimpl_stat50
#endif
+#ifndef RUMP_SYS_RENAME_AIO_CANCEL
+#define RUMP_SYS_RENAME_AIO_CANCEL rump___sysimpl_aio_cancel
+#endif
+
#ifndef RUMP_SYS_RENAME_LGETXATTR
#define RUMP_SYS_RENAME_LGETXATTR rump___sysimpl_lgetxattr
#endif
@@ -791,6 +823,7 @@
struct kevent;
struct statvfs;
struct stat;
+struct aiocb;
struct itimerval;
struct itimerspec;
struct quotactl_args;
@@ -951,6 +984,13 @@
int rump_sys_fhopen(const void *, size_t, int) __RENAME(RUMP_SYS_RENAME_FHOPEN);
int rump_sys_fhstatvfs1(const void *, size_t, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_FHSTATVFS1);
int rump_sys_fhstat(const void *, size_t, struct stat *) __RENAME(RUMP_SYS_RENAME_FHSTAT);
+int rump_sys_aio_cancel(int, struct aiocb *) __RENAME(RUMP_SYS_RENAME_AIO_CANCEL);
+int rump_sys_aio_error(const struct aiocb *) __RENAME(RUMP_SYS_RENAME_AIO_ERROR);
+int rump_sys_aio_fsync(int, struct aiocb *) __RENAME(RUMP_SYS_RENAME_AIO_FSYNC);
+int rump_sys_aio_read(struct aiocb *) __RENAME(RUMP_SYS_RENAME_AIO_READ);
+int rump_sys_aio_return(struct aiocb *) __RENAME(RUMP_SYS_RENAME_AIO_RETURN);
+int rump_sys_aio_write(struct aiocb *) __RENAME(RUMP_SYS_RENAME_AIO_WRITE);
+int rump_sys_lio_listio(int, struct aiocb *const *, int, struct sigevent *) __RENAME(RUMP_SYS_RENAME_LIO_LISTIO);
int rump_sys_mount(const char *, const char *, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_MOUNT);
int rump_sys_posix_fadvise(int, off_t, off_t, int) __RENAME(RUMP_SYS_RENAME_POSIX_FADVISE);
int rump_sys_gettimeofday(struct timeval *, void *) __RENAME(RUMP_SYS_RENAME_GETTIMEOFDAY);
@@ -962,6 +1002,7 @@
int rump_sys_clock_settime(clockid_t, const struct timespec *) __RENAME(RUMP_SYS_RENAME_CLOCK_SETTIME);
int rump_sys_clock_getres(clockid_t, struct timespec *) __RENAME(RUMP_SYS_RENAME_CLOCK_GETRES);
int rump_sys_nanosleep(const struct timespec *, struct timespec *) __RENAME(RUMP_SYS_RENAME_NANOSLEEP);
+int rump_sys_aio_suspend(const struct aiocb *const *, int, const struct timespec *) __RENAME(RUMP_SYS_RENAME_AIO_SUSPEND);
int rump_sys_timer_settime(timer_t, int, const struct itimerspec *, struct itimerspec *) __RENAME(RUMP_SYS_RENAME_TIMER_SETTIME);
int rump_sys_timer_gettime(timer_t, struct itimerspec *) __RENAME(RUMP_SYS_RENAME_TIMER_GETTIME);
int rump_sys_pipe2(int *, int) __RENAME(RUMP_SYS_RENAME_PIPE2);
diff -r c900a564df3a -r ab6c13c0e442 sys/rump/librump/rumpkern/rump_syscalls.c
--- a/sys/rump/librump/rumpkern/rump_syscalls.c Wed Apr 09 23:55:37 2014 +0000
+++ b/sys/rump/librump/rumpkern/rump_syscalls.c Wed Apr 09 23:57:26 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.c,v 1.98 2014/03/14 00:56:37 pooka Exp $ */
+/* $NetBSD: rump_syscalls.c,v 1.99 2014/04/09 23:57:26 pooka Exp $ */
/*
* System call vector and marshalling for rump.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.267 2014/03/14 00:52:08 pooka Exp
+ * created from NetBSD: syscalls.master,v 1.268 2014/04/09 23:55:37 pooka Exp
*/
#ifdef RUMP_CLIENT
@@ -15,7 +15,7 @@
#ifdef __NetBSD__
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.98 2014/03/14 00:56:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.99 2014/04/09 23:57:26 pooka Exp $");
#include <sys/fstypes.h>
#include <sys/proc.h>
@@ -4128,6 +4128,186 @@
rsys_define(rumpns_compat_50_sys___fhstat40);
rsys_aliases(compat_50___fhstat40,rump___sysimpl_fhstat40);
+int rump___sysimpl_aio_cancel(int, struct aiocb *);
+int
+rump___sysimpl_aio_cancel(int fildes, struct aiocb * aiocbp)
+{
+ register_t retval[2];
+ int error = 0;
+ int rv = -1;
+ struct sys_aio_cancel_args callarg;
+
+ memset(&callarg, 0, sizeof(callarg));
+ SPARG(&callarg, fildes) = fildes;
+ SPARG(&callarg, aiocbp) = aiocbp;
+
+ error = rsys_syscall(SYS_aio_cancel, &callarg, sizeof(callarg), retval);
+ rsys_seterrno(error);
+ if (error == 0) {
+ if (sizeof(int) > sizeof(register_t))
+ rv = *(int *)retval;
+ else
+ rv = *retval;
+ }
+ return rv;
+}
+rsys_define(rumpns_sys_aio_cancel);
+rsys_aliases(aio_cancel,rump___sysimpl_aio_cancel);
+
+int rump___sysimpl_aio_error(const struct aiocb *);
+int
+rump___sysimpl_aio_error(const struct aiocb * aiocbp)
+{
+ register_t retval[2];
+ int error = 0;
+ int rv = -1;
+ struct sys_aio_error_args callarg;
+
+ memset(&callarg, 0, sizeof(callarg));
+ SPARG(&callarg, aiocbp) = aiocbp;
+
+ error = rsys_syscall(SYS_aio_error, &callarg, sizeof(callarg), retval);
+ rsys_seterrno(error);
+ if (error == 0) {
+ if (sizeof(int) > sizeof(register_t))
+ rv = *(int *)retval;
+ else
+ rv = *retval;
+ }
+ return rv;
+}
+rsys_define(rumpns_sys_aio_error);
+rsys_aliases(aio_error,rump___sysimpl_aio_error);
+
+int rump___sysimpl_aio_fsync(int, struct aiocb *);
+int
+rump___sysimpl_aio_fsync(int op, struct aiocb * aiocbp)
+{
+ register_t retval[2];
+ int error = 0;
+ int rv = -1;
+ struct sys_aio_fsync_args callarg;
+
+ memset(&callarg, 0, sizeof(callarg));
+ SPARG(&callarg, op) = op;
+ SPARG(&callarg, aiocbp) = aiocbp;
+
+ error = rsys_syscall(SYS_aio_fsync, &callarg, sizeof(callarg), retval);
+ rsys_seterrno(error);
+ if (error == 0) {
+ if (sizeof(int) > sizeof(register_t))
+ rv = *(int *)retval;
+ else
+ rv = *retval;
+ }
+ return rv;
+}
+rsys_define(rumpns_sys_aio_fsync);
+rsys_aliases(aio_fsync,rump___sysimpl_aio_fsync);
+
+int rump___sysimpl_aio_read(struct aiocb *);
+int
+rump___sysimpl_aio_read(struct aiocb * aiocbp)
+{
+ register_t retval[2];
+ int error = 0;
+ int rv = -1;
+ struct sys_aio_read_args callarg;
+
+ memset(&callarg, 0, sizeof(callarg));
+ SPARG(&callarg, aiocbp) = aiocbp;
+
+ error = rsys_syscall(SYS_aio_read, &callarg, sizeof(callarg), retval);
+ rsys_seterrno(error);
+ if (error == 0) {
+ if (sizeof(int) > sizeof(register_t))
+ rv = *(int *)retval;
+ else
+ rv = *retval;
+ }
+ return rv;
+}
+rsys_define(rumpns_sys_aio_read);
+rsys_aliases(aio_read,rump___sysimpl_aio_read);
+
Home |
Main Index |
Thread Index |
Old Index