managers
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Jun 18 13:26:19 UTC 2012
On 06/17/2012 02:05 PM, Joel Sherrill wrote:
> When the optional manager feature was added all code in a manager -- all directives -- was in a single file. This originally gave you stub replacements for all directives.
>
> With one method per file, it often increased code space in executables, w
Grrr.. was on my phone. :(
When we moved to one method per file, there really wasn't as much reason
to use this. If you don't configure any objects of a manager, you can't
create
them, you can't access them, etc..
It devolved to only being able to stub out the initialization routine of
some
(but not all) managers.
In the long run, we may be better off with a "constructor" style
initialization
like that found in FreeBSD or something similar. That way if you need
the initialization
routine, it is implicitly referenced. Otherwise, it is left out. Chris
Johns had a
prototype of this working a while back. The question with this approach
is whether
the code to process the "constructor tables" and data required would really
result in savings over just having the small initialization routines
there all the
time.
>
> Pierre Ficheux<pierre.ficheux at openwide.fr> wrote:
>
>> Hi,
>>
>> I currently use git rtems and I saw this message in the log:
>>
>> 2011-12-08 Joel Sherrill<joel.sherrill at oarcorp.com>
>>
>> PR 1589/build
>> * leaf.cfg, target.cfg.in, compilers/gcc-target-default.cfg: Remove
>> obsolete optional manager capability.
>>
>>
>> Is there a new way to add/remove managers? can we still use MANAGERS
>> variable in Makefile? I didn't find any doc/example about it.
>>
>> Thanks by advance
>>
>> regards
>>
>> --
>> Pierre FICHEUX -/- CTO OW/OWI, France -\- pierre.ficheux at openwide.fr
>> http://ingenierie.openwide.fr
>> http://www.ficheux.org
>> I would love to change the world, but they won't give me the source code
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list