Re: Using l4re in loadable modules of L4Linux

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
On Sat Feb 09, 2013 at 16:52:37 -0600, Haohui Mai wrote:
> I'm building a loadable module of L4Linux. The module calls l4re_rm_alloc() / l4re_rm_attach() to allocate shared memory.
> 
> Because the symbols l4re_rm_attach_srv / l4re_utils_cap_alloc / l4re_ma_alloc_srv are not exported to the modules, I exported them using EXPORT_SYMBOL(). The module, however, still fails to load, complaining about  that these symbols cannot be found.
> 
> Is there a way to export these symbols so that loadable modules can use L4Re?

Can't really tell without looking myself but adding a wrapper in Linux,
exporting and using it should probably do it as a quick fix.


Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.