regen: rump_kernelfsym_load()

This commit is contained in:
pooka 2009-11-26 09:21:16 +00:00
parent ff492c8ebe
commit 4f28ef3250
3 changed files with 20 additions and 6 deletions

View File

@ -1,8 +1,8 @@
/* $NetBSD: rumpkern_if_pub.h,v 1.4 2009/10/15 16:40:15 pooka Exp $ */ /* $NetBSD: rumpkern_if_pub.h,v 1.5 2009/11/26 09:21:16 pooka Exp $ */
/* /*
* Automatically generated. DO NOT EDIT. * Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpkern.ifspec,v 1.2 2009/10/15 16:39:22 pooka Exp * from: NetBSD: rumpkern.ifspec,v 1.3 2009/11/26 09:20:07 pooka Exp
* by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/ */
@ -10,6 +10,7 @@ void rump_pub_reboot(int);
int rump_pub_getversion(void); int rump_pub_getversion(void);
int rump_pub_module_init(struct modinfo *, prop_dictionary_t); int rump_pub_module_init(struct modinfo *, prop_dictionary_t);
int rump_pub_module_fini(struct modinfo *); int rump_pub_module_fini(struct modinfo *);
int rump_pub_kernelfsym_load(void *, uint64_t, char *, uint64_t);
struct uio * rump_pub_uio_setup(void *, size_t, off_t, enum rump_uiorw); struct uio * rump_pub_uio_setup(void *, size_t, off_t, enum rump_uiorw);
size_t rump_pub_uio_getresid(struct uio *); size_t rump_pub_uio_getresid(struct uio *);
off_t rump_pub_uio_getoff(struct uio *); off_t rump_pub_uio_getoff(struct uio *);

View File

@ -1,8 +1,8 @@
/* $NetBSD: rumpkern_if_priv.h,v 1.4 2009/10/15 16:40:15 pooka Exp $ */ /* $NetBSD: rumpkern_if_priv.h,v 1.5 2009/11/26 09:21:16 pooka Exp $ */
/* /*
* Automatically generated. DO NOT EDIT. * Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpkern.ifspec,v 1.2 2009/10/15 16:39:22 pooka Exp * from: NetBSD: rumpkern.ifspec,v 1.3 2009/11/26 09:20:07 pooka Exp
* by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/ */
@ -10,6 +10,7 @@ void rump_reboot(int);
int rump_getversion(void); int rump_getversion(void);
int rump_module_init(struct modinfo *, prop_dictionary_t); int rump_module_init(struct modinfo *, prop_dictionary_t);
int rump_module_fini(struct modinfo *); int rump_module_fini(struct modinfo *);
int rump_kernelfsym_load(void *, uint64_t, char *, uint64_t);
struct uio * rump_uio_setup(void *, size_t, off_t, enum rump_uiorw); struct uio * rump_uio_setup(void *, size_t, off_t, enum rump_uiorw);
size_t rump_uio_getresid(struct uio *); size_t rump_uio_getresid(struct uio *);
off_t rump_uio_getoff(struct uio *); off_t rump_uio_getoff(struct uio *);

View File

@ -1,8 +1,8 @@
/* $NetBSD: rumpkern_if_wrappers.c,v 1.4 2009/10/15 16:40:15 pooka Exp $ */ /* $NetBSD: rumpkern_if_wrappers.c,v 1.5 2009/11/26 09:21:16 pooka Exp $ */
/* /*
* Automatically generated. DO NOT EDIT. * Automatically generated. DO NOT EDIT.
* from: NetBSD: rumpkern.ifspec,v 1.2 2009/10/15 16:39:22 pooka Exp * from: NetBSD: rumpkern.ifspec,v 1.3 2009/11/26 09:20:07 pooka Exp
* by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
*/ */
@ -68,6 +68,18 @@ rump_pub_module_fini(struct modinfo *arg1)
return rv; return rv;
} }
int
rump_pub_kernelfsym_load(void *arg1, uint64_t arg2, char *arg3, uint64_t arg4)
{
int rv;
rump_schedule();
rv = rump_kernelfsym_load(arg1, arg2, arg3, arg4);
rump_unschedule();
return rv;
}
struct uio * struct uio *
rump_pub_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)
{ {