[En-Nut-Discussion] Nut/OS Initialization
Nathan Moore
nategoose at gmail.com
Wed Sep 17 18:19:57 CEST 2008
On Wed, Sep 17, 2008 at 12:07 PM, Harald Kipp <harald.kipp at egnite.de> wrote:
> I assume you responded to the wrong message, which confuses me a bit. If
> I got it right, you tried to answer my question about how the linker
> becomes aware of the new structure.
Yeah, I hit reply on the last message in the thread at the time. Sorry
about that.
>
>
> Nathan Moore wrote:
> > I suspect that the case of automatically hooking in the call back
> functions
> > if they are implemented is done by way of having alternate
> implementations
> > of those functions in libraries with the like order (or priority)
> arranged
> > so that
> > if you didn't write your own the default is pulled from the library, and
> the
> > default doesn't actually do anything.
>
> You mean some kind of weak definition, like we use it for interrupt
> vectors. Mh...smart attempt.
>
Exactly.
>
>
> However, that would mean for Nut/OS, that we waste a lot of valuable RAM
> for the default structures.
>
Why RAM usage? I'm not understanding something here.
Nathan
More information about the En-Nut-Discussion
mailing list