Re: Use of EXPORT_SYMBOL

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

 



Hi...

On Sun, Sep 7, 2008 at 5:34 PM, rishi agrawal <postrishi@xxxxxxxxx> wrote:
> Hello Everybody,
>
> What is the use of EXPORT_SYMBOL ??

To make it short, by doing that you make that symbol "visible" to
kernel module. By visible, I mean it can be referenced. Thus if it's
variable you can store a value or retrieve the content, if it's
procedure then you can call it.

The mechanism is quite similar in normal user space programming. By
declaring a variable as non static and you refer it on another object
code as extern, then run time linking will make the latter object code
able to refer the symbol.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux