Calling a module method from inside the kernel - is it possible Inbox

Rajat Sharma fs.rajat at gmail.com
Sat Jan 21 09:39:18 EST 2012


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 at 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 at 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 at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
> Regards,
> Santosh Kulkarni
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



More information about the Kernelnewbies mailing list