Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump regen: put all public interfaces created by ifspec ...
details: https://anonhg.NetBSD.org/src/rev/a6b12ea6de12
branches: trunk
changeset: 748130:a6b12ea6de12
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Oct 14 18:16:41 2009 +0000
description:
regen: put all public interfaces created by ifspec into a rump_pub namespace
diffstat:
sys/rump/include/rump/rumpkern_if_pub.h | 42 +++---
sys/rump/include/rump/rumpnet_if_pub.h | 6 +-
sys/rump/include/rump/rumpvfs_if_pub.h | 72 +++++-----
sys/rump/librump/rumpkern/rumpkern_if_priv.h | 42 +++---
sys/rump/librump/rumpkern/rumpkern_if_wrappers.c | 80 ++++++------
sys/rump/librump/rumpnet/rumpnet_if_priv.h | 6 +-
sys/rump/librump/rumpnet/rumpnet_if_wrappers.c | 10 +-
sys/rump/librump/rumpvfs/rumpvfs_if_priv.h | 72 +++++-----
sys/rump/librump/rumpvfs/rumpvfs_if_wrappers.c | 142 +++++++++++-----------
9 files changed, 236 insertions(+), 236 deletions(-)
diffs (truncated from 952 to 300 lines):
diff -r 51aa8cd5c7aa -r a6b12ea6de12 sys/rump/include/rump/rumpkern_if_pub.h
--- a/sys/rump/include/rump/rumpkern_if_pub.h Wed Oct 14 18:14:48 2009 +0000
+++ b/sys/rump/include/rump/rumpkern_if_pub.h Wed Oct 14 18:16:41 2009 +0000
@@ -1,27 +1,27 @@
-/* $NetBSD: rumpkern_if_pub.h,v 1.1 2009/10/14 17:28:13 pooka Exp $ */
+/* $NetBSD: rumpkern_if_pub.h,v 1.2 2009/10/14 18:16:41 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.2 2009/10/14 17:26:09 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
*/
-void rump_reboot(int);
-int rump_getversion(void);
-int rump_module_init(struct modinfo *, prop_dictionary_t);
-int rump_module_fini(struct modinfo *);
-struct uio * rump_uio_setup(void *, size_t, off_t, enum rump_uiorw);
-size_t rump_uio_getresid(struct uio *);
-off_t rump_uio_getoff(struct uio *);
-size_t rump_uio_free(struct uio *);
-kauth_cred_t rump_cred_create(uid_t, gid_t, size_t, gid_t *);
-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);
-int rump_sysproxy_set(rump_sysproxy_t, void *);
-int rump_sysproxy_socket_setup_client(int);
-int rump_sysproxy_socket_setup_server(int);
+void rump_pub_reboot(int);
+int rump_pub_getversion(void);
+int rump_pub_module_init(struct modinfo *, prop_dictionary_t);
+int rump_pub_module_fini(struct modinfo *);
+struct uio * rump_pub_uio_setup(void *, size_t, off_t, enum rump_uiorw);
+size_t rump_pub_uio_getresid(struct uio *);
+off_t rump_pub_uio_getoff(struct uio *);
+size_t rump_pub_uio_free(struct uio *);
+kauth_cred_t rump_pub_cred_create(uid_t, gid_t, size_t, gid_t *);
+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);
+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 51aa8cd5c7aa -r a6b12ea6de12 sys/rump/include/rump/rumpnet_if_pub.h
--- a/sys/rump/include/rump/rumpnet_if_pub.h Wed Oct 14 18:14:48 2009 +0000
+++ b/sys/rump/include/rump/rumpnet_if_pub.h Wed Oct 14 18:16:41 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpnet_if_pub.h,v 1.1 2009/10/14 17:28:13 pooka Exp $ */
+/* $NetBSD: rumpnet_if_pub.h,v 1.2 2009/10/14 18:16:41 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.2 2009/10/14 17:26:09 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
*/
-int rump_virtif_create(int);
+int rump_pub_virtif_create(int);
diff -r 51aa8cd5c7aa -r a6b12ea6de12 sys/rump/include/rump/rumpvfs_if_pub.h
--- a/sys/rump/include/rump/rumpvfs_if_pub.h Wed Oct 14 18:14:48 2009 +0000
+++ b/sys/rump/include/rump/rumpvfs_if_pub.h Wed Oct 14 18:16:41 2009 +0000
@@ -1,42 +1,42 @@
-/* $NetBSD: rumpvfs_if_pub.h,v 1.1 2009/10/14 17:28:13 pooka Exp $ */
+/* $NetBSD: rumpvfs_if_pub.h,v 1.2 2009/10/14 18:16:41 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.2 2009/10/14 17:26:09 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
*/
-void rump_getvninfo(struct vnode *, enum vtype *, off_t *, dev_t *);
-struct vfsops * rump_vfslist_iterate(struct vfsops *);
-struct vfsops * rump_vfs_getopsbyname(const char *);
-struct vattr * rump_vattr_init(void);
-void rump_vattr_settype(struct vattr *, enum vtype);
-void rump_vattr_setmode(struct vattr *, mode_t);
-void rump_vattr_setrdev(struct vattr *, dev_t);
-void rump_vattr_free(struct vattr *);
-void rump_vp_incref(struct vnode *);
-int rump_vp_getref(struct vnode *);
-void rump_vp_rele(struct vnode *);
-void rump_vp_interlock(struct vnode *);
-int rump_etfs_register(const char *, const char *, enum rump_etfs_type);
-int rump_etfs_register_withsize(const char *, const char *, enum rump_etfs_type, uint64_t, uint64_t);
-int rump_etfs_remove(const char *);
-void rump_freecn(struct componentname *, int);
-int rump_checksavecn(struct componentname *);
-int rump_namei(uint32_t, uint32_t, const char *, struct vnode **, struct vnode **, struct componentname **);
-struct componentname * rump_makecn(u_long, u_long, const char *, size_t, kauth_cred_t, struct lwp *);
-int rump_vfs_unmount(struct mount *, int);
-int rump_vfs_root(struct mount *, struct vnode **, int);
-int rump_vfs_statvfs(struct mount *, struct statvfs *);
-int rump_vfs_sync(struct mount *, int, kauth_cred_t);
-int rump_vfs_fhtovp(struct mount *, struct fid *, struct vnode **);
-int rump_vfs_vptofh(struct vnode *, struct fid *, size_t *);
-void rump_vfs_syncwait(struct mount *);
-int rump_vfs_getmp(const char *, struct mount **);
-void rump_rcvp_set(struct vnode *, struct vnode *);
-struct vnode * rump_cdir_get(void);
-int rump_syspuffs_glueinit(int, int *);
-int rump_sys___stat30(const char *, struct stat *);
-int rump_sys___lstat30(const char *, struct stat *);
-void rump_vattr50_to_vattr(const struct vattr *, struct vattr *);
-void rump_vattr_to_vattr50(const struct vattr *, struct vattr *);
+void rump_pub_getvninfo(struct vnode *, enum vtype *, off_t *, dev_t *);
+struct vfsops * rump_pub_vfslist_iterate(struct vfsops *);
+struct vfsops * rump_pub_vfs_getopsbyname(const char *);
+struct vattr * rump_pub_vattr_init(void);
+void rump_pub_vattr_settype(struct vattr *, enum vtype);
+void rump_pub_vattr_setmode(struct vattr *, mode_t);
+void rump_pub_vattr_setrdev(struct vattr *, dev_t);
+void rump_pub_vattr_free(struct vattr *);
+void rump_pub_vp_incref(struct vnode *);
+int rump_pub_vp_getref(struct vnode *);
+void rump_pub_vp_rele(struct vnode *);
+void rump_pub_vp_interlock(struct vnode *);
+int rump_pub_etfs_register(const char *, const char *, enum rump_etfs_type);
+int rump_pub_etfs_register_withsize(const char *, const char *, enum rump_etfs_type, uint64_t, uint64_t);
+int rump_pub_etfs_remove(const char *);
+void rump_pub_freecn(struct componentname *, int);
+int rump_pub_checksavecn(struct componentname *);
+int rump_pub_namei(uint32_t, uint32_t, const char *, struct vnode **, struct vnode **, struct componentname **);
+struct componentname * rump_pub_makecn(u_long, u_long, const char *, size_t, kauth_cred_t, struct lwp *);
+int rump_pub_vfs_unmount(struct mount *, int);
+int rump_pub_vfs_root(struct mount *, struct vnode **, int);
+int rump_pub_vfs_statvfs(struct mount *, struct statvfs *);
+int rump_pub_vfs_sync(struct mount *, int, kauth_cred_t);
+int rump_pub_vfs_fhtovp(struct mount *, struct fid *, struct vnode **);
+int rump_pub_vfs_vptofh(struct vnode *, struct fid *, size_t *);
+void rump_pub_vfs_syncwait(struct mount *);
+int rump_pub_vfs_getmp(const char *, struct mount **);
+void rump_pub_rcvp_set(struct vnode *, struct vnode *);
+struct vnode * rump_pub_cdir_get(void);
+int rump_pub_syspuffs_glueinit(int, int *);
+int rump_pub_sys___stat30(const char *, struct stat *);
+int rump_pub_sys___lstat30(const char *, struct stat *);
+void rump_pub_vattr50_to_vattr(const struct vattr *, struct vattr *);
+void rump_pub_vattr_to_vattr50(const struct vattr *, struct vattr *);
diff -r 51aa8cd5c7aa -r a6b12ea6de12 sys/rump/librump/rumpkern/rumpkern_if_priv.h
--- a/sys/rump/librump/rumpkern/rumpkern_if_priv.h Wed Oct 14 18:14:48 2009 +0000
+++ b/sys/rump/librump/rumpkern/rumpkern_if_priv.h Wed Oct 14 18:16:41 2009 +0000
@@ -1,27 +1,27 @@
-/* $NetBSD: rumpkern_if_priv.h,v 1.1 2009/10/14 17:28:14 pooka Exp $ */
+/* $NetBSD: rumpkern_if_priv.h,v 1.2 2009/10/14 18:16:41 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.2 2009/10/14 17:26:09 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
*/
-void rumppriv_reboot(int);
-int rumppriv_getversion(void);
-int rumppriv_module_init(struct modinfo *, prop_dictionary_t);
-int rumppriv_module_fini(struct modinfo *);
-struct uio * rumppriv_uio_setup(void *, size_t, off_t, enum rump_uiorw);
-size_t rumppriv_uio_getresid(struct uio *);
-off_t rumppriv_uio_getoff(struct uio *);
-size_t rumppriv_uio_free(struct uio *);
-kauth_cred_t rumppriv_cred_create(uid_t, gid_t, size_t, gid_t *);
-kauth_cred_t rumppriv_cred_suserget(void);
-void rumppriv_cred_put(kauth_cred_t);
-struct lwp * rumppriv_newproc_switch(void);
-struct lwp * rumppriv_setup_curlwp(pid_t, lwpid_t, int);
-struct lwp * rumppriv_get_curlwp(void);
-void rumppriv_set_curlwp(struct lwp *);
-void rumppriv_clear_curlwp(void);
-int rumppriv_sysproxy_set(rump_sysproxy_t, void *);
-int rumppriv_sysproxy_socket_setup_client(int);
-int rumppriv_sysproxy_socket_setup_server(int);
+void rump_reboot(int);
+int rump_getversion(void);
+int rump_module_init(struct modinfo *, prop_dictionary_t);
+int rump_module_fini(struct modinfo *);
+struct uio * rump_uio_setup(void *, size_t, off_t, enum rump_uiorw);
+size_t rump_uio_getresid(struct uio *);
+off_t rump_uio_getoff(struct uio *);
+size_t rump_uio_free(struct uio *);
+kauth_cred_t rump_cred_create(uid_t, gid_t, size_t, gid_t *);
+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);
+int rump_sysproxy_set(rump_sysproxy_t, void *);
+int rump_sysproxy_socket_setup_client(int);
+int rump_sysproxy_socket_setup_server(int);
diff -r 51aa8cd5c7aa -r a6b12ea6de12 sys/rump/librump/rumpkern/rumpkern_if_wrappers.c
--- a/sys/rump/librump/rumpkern/rumpkern_if_wrappers.c Wed Oct 14 18:14:48 2009 +0000
+++ b/sys/rump/librump/rumpkern/rumpkern_if_wrappers.c Wed Oct 14 18:16:41 2009 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: rumpkern_if_wrappers.c,v 1.1 2009/10/14 17:28:14 pooka Exp $ */
+/* $NetBSD: rumpkern_if_wrappers.c,v 1.2 2009/10/14 18:16:41 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.2 2009/10/14 17:26:09 pooka Exp
+ * by: NetBSD: makerumpif.sh,v 1.3 2009/10/14 18:14:48 pooka Exp
*/
#include <sys/cdefs.h>
@@ -23,179 +23,179 @@
}
void
-rump_reboot(int arg1)
+rump_pub_reboot(int arg1)
{
- rumppriv_reboot(arg1);
+ rump_reboot(arg1);
}
int
-rump_getversion(void)
+rump_pub_getversion(void)
{
int rv;
- rv = rumppriv_getversion();
+ rv = rump_getversion();
return rv;
}
int
-rump_module_init(struct modinfo *arg1, prop_dictionary_t arg2)
+rump_pub_module_init(struct modinfo *arg1, prop_dictionary_t arg2)
{
int rv;
- rv = rumppriv_module_init(arg1, arg2);
+ rv = rump_module_init(arg1, arg2);
return rv;
}
int
-rump_module_fini(struct modinfo *arg1)
+rump_pub_module_fini(struct modinfo *arg1)
{
int rv;
- rv = rumppriv_module_fini(arg1);
+ rv = rump_module_fini(arg1);
return rv;
}
struct uio *
-rump_uio_setup(void *arg1, size_t arg2, off_t arg3, enum rump_uiorw arg4)
+rump_pub_uio_setup(void *arg1, size_t arg2, off_t arg3, enum rump_uiorw arg4)
{
struct uio * rv;
- rv = rumppriv_uio_setup(arg1, arg2, arg3, arg4);
+ rv = rump_uio_setup(arg1, arg2, arg3, arg4);
return rv;
}
size_t
-rump_uio_getresid(struct uio *arg1)
+rump_pub_uio_getresid(struct uio *arg1)
{
size_t rv;
- rv = rumppriv_uio_getresid(arg1);
+ rv = rump_uio_getresid(arg1);
return rv;
}
off_t
-rump_uio_getoff(struct uio *arg1)
+rump_pub_uio_getoff(struct uio *arg1)
{
off_t rv;
- rv = rumppriv_uio_getoff(arg1);
+ rv = rump_uio_getoff(arg1);
return rv;
}
Home |
Main Index |
Thread Index |
Old Index