tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: library in kernel space




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





Home | Main Index | Thread Index | Old Index