[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Using device files in "/dev" from kernel space
2010/12/23 m0n0 <ole@monochrom.net>:
>
> Btw.: within linux kernel, theoretically every function within an kernel
> module is public accessible to other kernel modules.
> Exception: you declared the function as static - than the function is not
> public available.
>
I think that under Linux you can only access the functions that are
exported by the module with the macro EXPORT_SYSMBOL and
EXPORT_SYMBOL_GPL.
> I believe this will be similar with the MiNT kernel, you can expect that you
> are able to call non-static functions from other modules.
>
No, I don't think so. From what I could see until now under MiNT you
can't export functions between kernel modules (KM). This is one of the
reasons why I'm asking about using a pseudo-device from kernel space,
to workaround these limitations.