rtems manager

Jan.Suchotzki at de.abb.com Jan.Suchotzki at de.abb.com
Thu May 2 10:25:18 UTC 2002


sorry for this question but what do you mean with stubs?

I would like to figure out the way this feature (inserting managers via
is implemented. Does it depend on the autoconf-tools?


Jan Suchotzki

 (Embedded     Joel Sherrill <joel.sherrill at oarcorp.com>                                
 image moved   29.04.2002 16:45                                                         
 to file:                                                                               

Please respond to joel.sherrill at oarcorp.com

To:   Jan Suchotzki <jsuchotzki at web.de>
cc:   rtems-users at oarcorp.com
Subject:  Re: rtems manager

Security Level:?         Internal

Jan Suchotzki wrote:
> Hi,
> can someone explain me the concept behind the MANAGER - Variable
> in the Makefile-templates?
> I mean, what happens when I include/exclude managers there?
> How affects it the code-size? Are there special libraries that are linked
> to the code in relation to the MANAGER-Variable?

It replaces the managers you don't want with a stub.  In olden days,
it was the only way to significantly reduce code size because all
services within a manager were in a single file.  Now the managers
are mostly split up for one function per file and the librarian
and loader take care of only pulling in precisely what is needed.

Check out the symbol table and look for rtems_task.  I am sure
there are a lot of services you don't end up including in your

But the stubs are especially useful in that they return E_NOTCONFIGURED
so you can explicitly forbid use of certain managers if that is what
you want to do.

> With kind regards
> Jan Suchotzki

Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic12244.pcx
Type: application/octet-stream
Size: 128 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20020502/3091fae3/attachment.obj>

More information about the users mailing list