Source-Changes-HG archive

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

[src/trunk]: src/sys/rump regen: lwp interface changes



details:   https://anonhg.NetBSD.org/src/rev/49d24b90ee02
branches:  trunk
changeset: 748180:49d24b90ee02
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Oct 15 16:40:15 2009 +0000

description:
regen: lwp interface changes

diffstat:

 sys/rump/include/rump/rumpkern_if_pub.h          |  13 +++++----
 sys/rump/librump/rumpkern/rumpkern_if_priv.h     |  13 +++++----
 sys/rump/librump/rumpkern/rumpkern_if_wrappers.c |  32 ++++++++++++++++-------
 3 files changed, 36 insertions(+), 22 deletions(-)

diffs (139 lines):

diff -r 9b4c07d10653 -r 49d24b90ee02 sys/rump/include/rump/rumpkern_if_pub.h
--- a/sys/rump/include/rump/rumpkern_if_pub.h   Thu Oct 15 16:39:22 2009 +0000
+++ b/sys/rump/include/rump/rumpkern_if_pub.h   Thu Oct 15 16:40:15 2009 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: rumpkern_if_pub.h,v 1.3 2009/10/15 00:31:25 pooka Exp $        */
+/*     $NetBSD: rumpkern_if_pub.h,v 1.4 2009/10/15 16:40:15 pooka Exp $        */
 
 /*
  * Automatically generated.  DO NOT EDIT.
- * from: NetBSD: rumpkern.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp 
+ * from: NetBSD: rumpkern.ifspec,v 1.2 2009/10/15 16:39:22 pooka Exp 
  * by:   NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp 
  */
 
@@ -18,10 +18,11 @@
 kauth_cred_t rump_pub_cred_suserget(void);
 void rump_pub_cred_put(kauth_cred_t);
 struct lwp * rump_pub_newproc_switch(void);
-struct lwp * rump_pub_setup_curlwp(pid_t, lwpid_t, int);
-struct lwp * rump_pub_get_curlwp(void);
-void rump_pub_set_curlwp(struct lwp *);
-void rump_pub_clear_curlwp(void);
+struct lwp * rump_pub_lwp_alloc(pid_t, lwpid_t);
+struct lwp * rump_pub_lwp_alloc_and_switch(pid_t, lwpid_t);
+struct lwp * rump_pub_lwp_curlwp(void);
+void rump_pub_lwp_switch(struct lwp *);
+void rump_pub_lwp_release(struct lwp *);
 int rump_pub_sysproxy_set(rump_sysproxy_t, void *);
 int rump_pub_sysproxy_socket_setup_client(int);
 int rump_pub_sysproxy_socket_setup_server(int);
diff -r 9b4c07d10653 -r 49d24b90ee02 sys/rump/librump/rumpkern/rumpkern_if_priv.h
--- a/sys/rump/librump/rumpkern/rumpkern_if_priv.h      Thu Oct 15 16:39:22 2009 +0000
+++ b/sys/rump/librump/rumpkern/rumpkern_if_priv.h      Thu Oct 15 16:40:15 2009 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: rumpkern_if_priv.h,v 1.3 2009/10/15 00:31:25 pooka Exp $       */
+/*     $NetBSD: rumpkern_if_priv.h,v 1.4 2009/10/15 16:40:15 pooka Exp $       */
 
 /*
  * Automatically generated.  DO NOT EDIT.
- * from: NetBSD: rumpkern.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp 
+ * from: NetBSD: rumpkern.ifspec,v 1.2 2009/10/15 16:39:22 pooka Exp 
  * by:   NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp 
  */
 
@@ -18,10 +18,11 @@
 kauth_cred_t rump_cred_suserget(void);
 void rump_cred_put(kauth_cred_t);
 struct lwp * rump_newproc_switch(void);
-struct lwp * rump_setup_curlwp(pid_t, lwpid_t, int);
-struct lwp * rump_get_curlwp(void);
-void rump_set_curlwp(struct lwp *);
-void rump_clear_curlwp(void);
+struct lwp * rump_lwp_alloc(pid_t, lwpid_t);
+struct lwp * rump_lwp_alloc_and_switch(pid_t, lwpid_t);
+struct lwp * rump_lwp_curlwp(void);
+void rump_lwp_switch(struct lwp *);
+void rump_lwp_release(struct lwp *);
 int rump_sysproxy_set(rump_sysproxy_t, void *);
 int rump_sysproxy_socket_setup_client(int);
 int rump_sysproxy_socket_setup_server(int);
diff -r 9b4c07d10653 -r 49d24b90ee02 sys/rump/librump/rumpkern/rumpkern_if_wrappers.c
--- a/sys/rump/librump/rumpkern/rumpkern_if_wrappers.c  Thu Oct 15 16:39:22 2009 +0000
+++ b/sys/rump/librump/rumpkern/rumpkern_if_wrappers.c  Thu Oct 15 16:40:15 2009 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: rumpkern_if_wrappers.c,v 1.3 2009/10/15 00:31:25 pooka Exp $   */
+/*     $NetBSD: rumpkern_if_wrappers.c,v 1.4 2009/10/15 16:40:15 pooka Exp $   */
 
 /*
  * Automatically generated.  DO NOT EDIT.
- * from: NetBSD: rumpkern.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp 
+ * from: NetBSD: rumpkern.ifspec,v 1.2 2009/10/15 16:39:22 pooka Exp 
  * by:   NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp 
  */
 
@@ -162,44 +162,56 @@
 }
 
 struct lwp *
-rump_pub_setup_curlwp(pid_t arg1, lwpid_t arg2, int arg3)
+rump_pub_lwp_alloc(pid_t arg1, lwpid_t arg2)
 {
        struct lwp * rv;
 
        rump_schedule();
-       rv = rump_setup_curlwp(arg1, arg2, arg3);
+       rv = rump_lwp_alloc(arg1, arg2);
+       rump_unschedule();
+
+       return rv;
+}
+
+struct lwp *
+rump_pub_lwp_alloc_and_switch(pid_t arg1, lwpid_t arg2)
+{
+       struct lwp * rv;
+
+       rump_schedule();
+       rv = rump_lwp_alloc_and_switch(arg1, arg2);
        rump_unschedule();
 
        return rv;
 }
 
 struct lwp *
-rump_pub_get_curlwp(void)
+rump_pub_lwp_curlwp(void)
 {
        struct lwp * rv;
 
        rump_schedule();
-       rv = rump_get_curlwp();
+       rv = rump_lwp_curlwp();
        rump_unschedule();
 
        return rv;
 }
 
 void
-rump_pub_set_curlwp(struct lwp *arg1)
+rump_pub_lwp_switch(struct lwp *arg1)
 {
 
        rump_schedule();
-       rump_set_curlwp(arg1);
+       rump_lwp_switch(arg1);
        rump_unschedule();
 }
 
 void
-rump_pub_clear_curlwp(void)
+rump_pub_lwp_release(struct lwp *arg1)
 {
 
        rump_schedule();
-       rump_clear_curlwp();
+       rump_lwp_release(arg1);
        rump_unschedule();
 }
 



Home | Main Index | Thread Index | Old Index