Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump regen: scheduling points in rump_pub wrappers
details: https://anonhg.NetBSD.org/src/rev/db535fc2c01e
branches: trunk
changeset: 748160:db535fc2c01e
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Oct 15 00:31:25 2009 +0000
description:
regen: scheduling points in rump_pub wrappers
diffstat:
sys/rump/include/rump/rumpkern_if_pub.h | 4 +-
sys/rump/include/rump/rumpnet_if_pub.h | 4 +-
sys/rump/include/rump/rumpvfs_if_pub.h | 4 +-
sys/rump/librump/rumpkern/rumpkern_if_priv.h | 4 +-
sys/rump/librump/rumpkern/rumpkern_if_wrappers.c | 43 +++++++++++++-
sys/rump/librump/rumpnet/rumpnet_if_priv.h | 4 +-
sys/rump/librump/rumpnet/rumpnet_if_wrappers.c | 7 +-
sys/rump/librump/rumpvfs/rumpvfs_if_priv.h | 4 +-
sys/rump/librump/rumpvfs/rumpvfs_if_wrappers.c | 73 +++++++++++++++++++++++-
9 files changed, 129 insertions(+), 18 deletions(-)
diffs (truncated from 690 to 300 lines):
diff -r ccf98a11e55a -r db535fc2c01e sys/rump/include/rump/rumpkern_if_pub.h
--- a/sys/rump/include/rump/rumpkern_if_pub.h Thu Oct 15 00:29:40 2009 +0000
+++ b/sys/rump/include/rump/rumpkern_if_pub.h Thu Oct 15 00:31:25 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpkern_if_pub.h,v 1.2 2009/10/14 18:16:41 pooka Exp $ */
+/* $NetBSD: rumpkern_if_pub.h,v 1.3 2009/10/15 00:31:25 pooka Exp $ */
/*
* Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpkern.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
- * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/
void rump_pub_reboot(int);
diff -r ccf98a11e55a -r db535fc2c01e sys/rump/include/rump/rumpnet_if_pub.h
--- a/sys/rump/include/rump/rumpnet_if_pub.h Thu Oct 15 00:29:40 2009 +0000
+++ b/sys/rump/include/rump/rumpnet_if_pub.h Thu Oct 15 00:31:25 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpnet_if_pub.h,v 1.2 2009/10/14 18:16:41 pooka Exp $ */
+/* $NetBSD: rumpnet_if_pub.h,v 1.3 2009/10/15 00:31:25 pooka Exp $ */
/*
* Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpnet.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
- * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/
int rump_pub_virtif_create(int);
diff -r ccf98a11e55a -r db535fc2c01e sys/rump/include/rump/rumpvfs_if_pub.h
--- a/sys/rump/include/rump/rumpvfs_if_pub.h Thu Oct 15 00:29:40 2009 +0000
+++ b/sys/rump/include/rump/rumpvfs_if_pub.h Thu Oct 15 00:31:25 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpvfs_if_pub.h,v 1.2 2009/10/14 18:16:41 pooka Exp $ */
+/* $NetBSD: rumpvfs_if_pub.h,v 1.3 2009/10/15 00:31:25 pooka Exp $ */
/*
* Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpvfs.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
- * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/
void rump_pub_getvninfo(struct vnode *, enum vtype *, off_t *, dev_t *);
diff -r ccf98a11e55a -r db535fc2c01e sys/rump/librump/rumpkern/rumpkern_if_priv.h
--- a/sys/rump/librump/rumpkern/rumpkern_if_priv.h Thu Oct 15 00:29:40 2009 +0000
+++ b/sys/rump/librump/rumpkern/rumpkern_if_priv.h Thu Oct 15 00:31:25 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpkern_if_priv.h,v 1.2 2009/10/14 18:16:41 pooka Exp $ */
+/* $NetBSD: rumpkern_if_priv.h,v 1.3 2009/10/15 00:31:25 pooka Exp $ */
/*
* Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpkern.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
- * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/
void rump_reboot(int);
diff -r ccf98a11e55a -r db535fc2c01e sys/rump/librump/rumpkern/rumpkern_if_wrappers.c
--- a/sys/rump/librump/rumpkern/rumpkern_if_wrappers.c Thu Oct 15 00:29:40 2009 +0000
+++ b/sys/rump/librump/rumpkern/rumpkern_if_wrappers.c Thu Oct 15 00:31:25 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpkern_if_wrappers.c,v 1.2 2009/10/14 18:16:41 pooka Exp $ */
+/* $NetBSD: rumpkern_if_wrappers.c,v 1.3 2009/10/15 00:31:25 pooka Exp $ */
/*
* Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpkern.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
- * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/
#include <sys/cdefs.h>
@@ -12,6 +12,7 @@
#include <rump/rump.h>
#include <rump/rumpkern_if_pub.h>
+#include "rump_private.h"
#include "rumpkern_if_priv.h"
void __dead rump_kern_unavailable(void);
@@ -26,7 +27,9 @@
rump_pub_reboot(int arg1)
{
+ rump_schedule();
rump_reboot(arg1);
+ rump_unschedule();
}
int
@@ -34,7 +37,9 @@
{
int rv;
+ rump_schedule();
rv = rump_getversion();
+ rump_unschedule();
return rv;
}
@@ -44,7 +49,9 @@
{
int rv;
+ rump_schedule();
rv = rump_module_init(arg1, arg2);
+ rump_unschedule();
return rv;
}
@@ -54,7 +61,9 @@
{
int rv;
+ rump_schedule();
rv = rump_module_fini(arg1);
+ rump_unschedule();
return rv;
}
@@ -64,7 +73,9 @@
{
struct uio * rv;
+ rump_schedule();
rv = rump_uio_setup(arg1, arg2, arg3, arg4);
+ rump_unschedule();
return rv;
}
@@ -74,7 +85,9 @@
{
size_t rv;
+ rump_schedule();
rv = rump_uio_getresid(arg1);
+ rump_unschedule();
return rv;
}
@@ -84,7 +97,9 @@
{
off_t rv;
+ rump_schedule();
rv = rump_uio_getoff(arg1);
+ rump_unschedule();
return rv;
}
@@ -94,7 +109,9 @@
{
size_t rv;
+ rump_schedule();
rv = rump_uio_free(arg1);
+ rump_unschedule();
return rv;
}
@@ -104,7 +121,9 @@
{
kauth_cred_t rv;
+ rump_schedule();
rv = rump_cred_create(arg1, arg2, arg3, arg4);
+ rump_unschedule();
return rv;
}
@@ -114,7 +133,9 @@
{
kauth_cred_t rv;
+ rump_schedule();
rv = rump_cred_suserget();
+ rump_unschedule();
return rv;
}
@@ -123,7 +144,9 @@
rump_pub_cred_put(kauth_cred_t arg1)
{
+ rump_schedule();
rump_cred_put(arg1);
+ rump_unschedule();
}
struct lwp *
@@ -131,7 +154,9 @@
{
struct lwp * rv;
+ rump_schedule();
rv = rump_newproc_switch();
+ rump_unschedule();
return rv;
}
@@ -141,7 +166,9 @@
{
struct lwp * rv;
+ rump_schedule();
rv = rump_setup_curlwp(arg1, arg2, arg3);
+ rump_unschedule();
return rv;
}
@@ -151,7 +178,9 @@
{
struct lwp * rv;
+ rump_schedule();
rv = rump_get_curlwp();
+ rump_unschedule();
return rv;
}
@@ -160,14 +189,18 @@
rump_pub_set_curlwp(struct lwp *arg1)
{
+ rump_schedule();
rump_set_curlwp(arg1);
+ rump_unschedule();
}
void
rump_pub_clear_curlwp(void)
{
+ rump_schedule();
rump_clear_curlwp();
+ rump_unschedule();
}
int
@@ -175,7 +208,9 @@
{
int rv;
+ rump_schedule();
rv = rump_sysproxy_set(arg1, arg2);
+ rump_unschedule();
return rv;
}
@@ -185,7 +220,9 @@
{
int rv;
+ rump_schedule();
rv = rump_sysproxy_socket_setup_client(arg1);
+ rump_unschedule();
return rv;
}
@@ -195,7 +232,9 @@
{
int rv;
+ rump_schedule();
rv = rump_sysproxy_socket_setup_server(arg1);
+ rump_unschedule();
return rv;
}
diff -r ccf98a11e55a -r db535fc2c01e sys/rump/librump/rumpnet/rumpnet_if_priv.h
--- a/sys/rump/librump/rumpnet/rumpnet_if_priv.h Thu Oct 15 00:29:40 2009 +0000
+++ b/sys/rump/librump/rumpnet/rumpnet_if_priv.h Thu Oct 15 00:31:25 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpnet_if_priv.h,v 1.2 2009/10/14 18:16:41 pooka Exp $ */
+/* $NetBSD: rumpnet_if_priv.h,v 1.3 2009/10/15 00:31:25 pooka Exp $ */
/*
* Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpnet.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
- * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/
int rump_virtif_create(int);
diff -r ccf98a11e55a -r db535fc2c01e sys/rump/librump/rumpnet/rumpnet_if_wrappers.c
--- a/sys/rump/librump/rumpnet/rumpnet_if_wrappers.c Thu Oct 15 00:29:40 2009 +0000
+++ b/sys/rump/librump/rumpnet/rumpnet_if_wrappers.c Thu Oct 15 00:31:25 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpnet_if_wrappers.c,v 1.2 2009/10/14 18:16:41 pooka Exp $ */
+/* $NetBSD: rumpnet_if_wrappers.c,v 1.3 2009/10/15 00:31:25 pooka Exp $ */
/*
* Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpnet.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
- * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/
Home |
Main Index |
Thread Index |
Old Index