lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #47092] Tag memory buffers like memp_memory_xxx and ra


From: David Fernandez
Subject: [lwip-devel] [bug #47092] Tag memory buffers like memp_memory_xxx and ram_heap with a macro so that attributes can be attached to teir definitions
Date: Wed, 17 Feb 2016 12:08:46 +0000
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

Follow-up Comment #4, bug #47092 (project lwip):

In response to your comment #2:


Something like LWIP_MEMPOOL_ATTRIBUTES in memp.h (and mem.c for ram_heap)
would suffice.

> Did you see there is an explanation how to do it for GCC in memp.h?

> "To relocate a pool, declare it as extern in cc.h. Example for GCC: extern
u8_t _attribute_((section(".onchip_mem"))) memp_memory_my_private_pool[];"

That is fine for privete pools, but not that good for standard pools, that are
"private" to lwIP users.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47092>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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