1 /* $NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp $ */
4 * Automatically generated. DO NOT EDIT.
5 * from: NetBSD: rumpkern.ifspec,v 1.3 2009/11/26 09:20:07 pooka Exp
6 * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
10 #include <sys/systm.h>
12 #include <rump/rump.h>
13 #include <rump/rumpkern_if_pub.h>
15 #include "rump_private.h"
16 #include "rumpkern_if_priv.h"
18 void __dead
rump_kern_unavailable(void);
20 rump_kern_unavailable(void)
23 panic("kern interface unavailable");
27 rump_pub_reboot(int arg1
)
36 rump_pub_getversion(void)
41 rv
= rump_getversion();
48 rump_pub_module_init(struct modinfo
*arg1
, prop_dictionary_t arg2
)
53 rv
= rump_module_init(arg1
, arg2
);
60 rump_pub_module_fini(struct modinfo
*arg1
)
65 rv
= rump_module_fini(arg1
);
72 rump_pub_kernelfsym_load(void *arg1
, uint64_t arg2
, char *arg3
, uint64_t arg4
)
77 rv
= rump_kernelfsym_load(arg1
, arg2
, arg3
, arg4
);
84 rump_pub_uio_setup(void *arg1
, size_t arg2
, off_t arg3
, enum rump_uiorw arg4
)
89 rv
= rump_uio_setup(arg1
, arg2
, arg3
, arg4
);
96 rump_pub_uio_getresid(struct uio
*arg1
)
101 rv
= rump_uio_getresid(arg1
);
108 rump_pub_uio_getoff(struct uio
*arg1
)
113 rv
= rump_uio_getoff(arg1
);
120 rump_pub_uio_free(struct uio
*arg1
)
125 rv
= rump_uio_free(arg1
);
132 rump_pub_cred_create(uid_t arg1
, gid_t arg2
, size_t arg3
, gid_t
*arg4
)
137 rv
= rump_cred_create(arg1
, arg2
, arg3
, arg4
);
144 rump_pub_cred_suserget(void)
149 rv
= rump_cred_suserget();
156 rump_pub_cred_put(kauth_cred_t arg1
)
165 rump_pub_newproc_switch(void)
170 rv
= rump_newproc_switch();
177 rump_pub_lwp_alloc(pid_t arg1
, lwpid_t arg2
)
182 rv
= rump_lwp_alloc(arg1
, arg2
);
189 rump_pub_lwp_alloc_and_switch(pid_t arg1
, lwpid_t arg2
)
194 rv
= rump_lwp_alloc_and_switch(arg1
, arg2
);
201 rump_pub_lwp_curlwp(void)
206 rv
= rump_lwp_curlwp();
213 rump_pub_lwp_switch(struct lwp
*arg1
)
217 rump_lwp_switch(arg1
);
222 rump_pub_lwp_release(struct lwp
*arg1
)
226 rump_lwp_release(arg1
);
231 rump_pub_sysproxy_set(rump_sysproxy_t arg1
, void *arg2
)
236 rv
= rump_sysproxy_set(arg1
, arg2
);
243 rump_pub_sysproxy_socket_setup_client(int arg1
)
248 rv
= rump_sysproxy_socket_setup_client(arg1
);
255 rump_pub_sysproxy_socket_setup_server(int arg1
)
260 rv
= rump_sysproxy_socket_setup_server(arg1
);