Using l4re in loadable modules of L4Linux

Adam Lackorzynski adam at os.inf.tu-dresden.de
Wed Feb 13 00:09:46 CET 2013


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                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list