Re: library in kernel space
Peter Skvarka <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Organization | Soft in Engines |
| Message-ID | <[email protected]> |
> You can only load other kernel modules from a kernel module (or the main > kernel). In this case when I have two modules where module_1 needs exported functions from module_2. Module_2 must be loaded first (i.e. with modload from shell) and after it I can load module_1. (if I understand it good) Is needed to use something special when compiling both modules to be able to recognize that some function is exported and to recognize that this function is present in module_2 ? (linker switches or some macros, etc.) Peter