Skip to contentSkip to conversation

Iner Module Communications

DISCUSSION vinolin 2 participants 2 messages Mar 13, 2002

lore
Share & tools
lore

vinolin

author
#0 lore raw

Hi Group !

Is it possible to perform inermodule communications between the LKM s? Any idea ?
Please share with me.

Thanks,
Vinolin.

#1 lore raw
Quoted 3 lines · vinolin

Is it possible to perform inermodule communications between the LKM s? Any idea ?
Please share with me.

You can call functions and touch data in other functions ... the kernel image, even with modules, is one big flat monolithic model.

You will probably want to EXPORT_SYMBOL the functions and variables you want to touch ... see other modules. But basically you can access anything that is exported once your module is linked.

Carefully consider _why_ you need "inter-module communication", though... and design to those (hopefully proper) goals.

Robert Love