On 07/05/07, Thomas De Schampheleire <[EMAIL PROTECTED]> wrote:

There some things I would like to make sure first: can I use all kernel
functions from a module? In Linux, modules can only use those functions from
the kernel which are exported by the EXPORT_SYMBOL macro.
 I suppose there is a similar mechanism for OpenSolaris, isn't there?

Not that I'm aware of. Pretty much all kernel symbols are available to you.

In
that case: how do I know which functions are exported and which aren't?


Check if there's a manpage for it. If there isn't then it's probably a
private function which you should consider unstable.

Secondly, I am still stuck with the question about how my module will be
loaded. It should be loaded by default when booting, is there a way to
achieve that?


What type of module is it? A driver? If so, I think ddi-forceattach
should work for you.

 Paul

--
Paul Durrant
http://www.linkedin.com/in/pdurrant
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to