Home | History | Annotate | Line # | Download | only in rumpkern
      1 ;	$NetBSD: rumpkern.ifspec,v 1.14 2016/01/26 23:22:22 pooka Exp $
      2 
      3 NAME|kern
      4 PUBHDR|include/rump/rumpkern_if_pub.h
      5 PRIVHDR|include/rump-sys/kern_if.h
      6 WRAPPERS|librump/rumpkern/rumpkern_if_wrappers.c
      7 
      8 ; type		| name		| args
      9 ;
     10 
     11 int		|module_init	|const struct modinfo * const *, size_t
     12 int		|module_fini	|const struct modinfo *
     13 int		|kernelfsym_load|void *, uint64_t, char *, uint64_t
     14 
     15 struct uio *	|uio_setup	|void *, size_t, off_t, enum rump_uiorw
     16 size_t		|uio_getresid	|struct uio *
     17 off_t		|uio_getoff	|struct uio *
     18 size_t		|uio_free	|struct uio *
     19 
     20 struct kauth_cred*|cred_create	|uid_t, gid_t, size_t, gid_t *
     21 void		  |cred_put	|struct kauth_cred *
     22 
     23 ; lwp and proc creation / switching interfaces
     24 int		|lwproc_rfork		|int
     25 int		|lwproc_newlwp		|pid_t
     26 void		|lwproc_switch		|struct lwp *
     27 void		|lwproc_releaselwp	|void
     28 struct lwp *	|lwproc_curlwp		|void
     29 void		|lwproc_sysent_usenative|void
     30 
     31 void		|allbetsareoff_setid	|pid_t, int
     32 
     33 ; wrappers for etfs interfaces.  They are not handled by librump,
     34 ; but having the function interfaces here makes it possible to always
     35 ; link clients which can then get a runtime failure if components
     36 ; handling etfs are not present.
     37 int		|etfs_register  |const char *, const char *, enum rump_etfs_type
     38 int		|etfs_register_withsize |const char *, const char *,	\
     39 					 enum rump_etfs_type, uint64_t,	\
     40 					 uint64_t
     41 int		|etfs_remove	|const char *
     42