lnls-dig/halcs

[CLOSED] [smio] [llio] Insert different smio and llio modules to a global table

Closed this issue · 2 comments

Issue by lerwys
Saturday Oct 17, 2015 at 20:54 GMT
Originally opened as lnls-dig/bpm-sw#109


Problem: When adding a new module, we need to explicitly search for it by name.

Solution: Create an init function to export the symbols into a global table (linked list) and sear ch by the module by an identifier or name

Comment by lerwys
Tuesday Jan 05, 2016 at 16:34 GMT


We could use something like this:

lnls-dig/openMMC@5479824

and adding our section like this:

http://stackoverflow.com/questions/6877922/injecting-sections-into-gnu-ld-script-script-compatibility-between-versions-of

Comment by lerwys
Saturday Jan 30, 2016 at 13:05 GMT


Done in branch smio-table linker commits from d1edf01 to aed7919