Calling a module method from inside the kernel - is it possible Inbox
Hi, all, I want to calling a module method (I am developing the module) from inside the kernel. How can I achieve it ? (BTW, I know that vice versa is possible by EXPORT_SYMBOL.) rgs, Kevin
Can you be more specific...wot do u mean by inside the kernel....do like want to call a function written inside another kernel module On Sat, Jan 21, 2012 at 3:38 PM, Kevin Wilson <wkevils@gmail.com> wrote:
Hi, all,
I want to calling a module method (I am developing the module) from inside the kernel. How can I achieve it ?
(BTW, I know that vice versa is possible by EXPORT_SYMBOL.)
rgs, Kevin
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- *Regards, Santosh Kulkarni*
well you can do that by exporting a kernel interface for registering your callbacks and your module can register static function pointers to be called by kernel. -Rajat On Sat, Jan 21, 2012 at 5:42 AM, SaNtosh kuLkarni <santosh.yesoptus@gmail.com> wrote:
Can you be more specific...wot do u mean by inside the kernel....do like want to call a function written inside another kernel module
On Sat, Jan 21, 2012 at 3:38 PM, Kevin Wilson <wkevils@gmail.com> wrote:
Hi, all,
I want to calling a module method (I am developing the module) from inside the kernel. How can I achieve it ?
(BTW, I know that vice versa is possible by EXPORT_SYMBOL.)
rgs, Kevin
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, Santosh Kulkarni
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
Kevin Wilson -
Rajat Sharma -
SaNtosh kuLkarni