lkml.org 
[lkml]   [2002]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Iner Module Communications
From
Date
On Wed, 2002-03-13 at 00:45, vinolin wrote:

> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.031 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site