lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #6822] Patch places memory pools in separate arrays


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #6822] Patch places memory pools in separate arrays
Date: Thu, 29 Oct 2009 22:03:11 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4

Follow-up Comment #6, patch #6822 (project lwip):

Oh, you mean you would place the extern definitions like the following into
cc.h?

extern u8_t __attribute__((section(".onchip_mem"))) memp_UDP_PCB_base[];

That would mean if it's not defined, there would be a linker error, wouldn't
it?

I'd prefer to define the sections (in lwipopts.h) and let LWIP_MEMPOOL()
somehow use these defines. That way we can have one define (all memp pools in
the same section) as well as the #ifndef fallback.

I didn't yet think about how to manage that, only I'd prefer this over the
cc.h idea (it's more like the rest of the config options).

> I thought you meant how (since you said how :-) ) more than where.

Well, I meant 'how' in terms of 'the attached patch doesn't show it' -
there's no note about cc.h in the patch! :-)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6822>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]