2011-01-02 15:52:25 +03:00
|
|
|
; $NetBSD: rumpkern.ifspec,v 1.10 2011/01/02 12:52:25 pooka Exp $
|
2009-10-14 21:17:00 +04:00
|
|
|
|
|
|
|
NAME|kern
|
|
|
|
PUBHDR|include/rump/rumpkern_if_pub.h
|
|
|
|
PRIVHDR|librump/rumpkern/rumpkern_if_priv.h
|
|
|
|
WRAPPERS|librump/rumpkern/rumpkern_if_wrappers.c
|
|
|
|
|
|
|
|
; type | name | args
|
|
|
|
;
|
|
|
|
|
|
|
|
int |getversion |void
|
|
|
|
|
2010-03-05 21:41:46 +03:00
|
|
|
int |module_init |const struct modinfo * const *, size_t
|
|
|
|
int |module_fini |const struct modinfo *
|
2009-11-26 12:20:07 +03:00
|
|
|
int |kernelfsym_load|void *, uint64_t, char *, uint64_t
|
2009-10-14 21:17:00 +04:00
|
|
|
|
|
|
|
struct uio * |uio_setup |void *, size_t, off_t, enum rump_uiorw
|
|
|
|
size_t |uio_getresid |struct uio *
|
|
|
|
off_t |uio_getoff |struct uio *
|
|
|
|
size_t |uio_free |struct uio *
|
|
|
|
|
2010-04-14 18:12:48 +04:00
|
|
|
struct kauth_cred*|cred_create |uid_t, gid_t, size_t, gid_t *
|
|
|
|
void |cred_put |struct kauth_cred *
|
2009-10-14 21:17:00 +04:00
|
|
|
|
2010-09-01 23:13:38 +04:00
|
|
|
; lwp and proc creation / switching interfaces
|
2011-01-02 15:52:25 +03:00
|
|
|
int |lwproc_rfork |int
|
2010-09-01 23:13:38 +04:00
|
|
|
int |lwproc_newlwp |pid_t
|
|
|
|
void |lwproc_switch |struct lwp *
|
|
|
|
void |lwproc_releaselwp |void
|
|
|
|
struct lwp * |lwproc_curlwp |void
|
|
|
|
|
|
|
|
void |allbetsareoff_setid |pid_t, int
|