public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* [RFC 4/9] * Apply previous ecos modifications to lwip
@ 2013-06-27 19:22 Will Wagner
  0 siblings, 0 replies; only message in thread
From: Will Wagner @ 2013-06-27 19:22 UTC (permalink / raw)
  To: eCos development list

There had been a couple of changes to lwip source files, these
changes need to be ported to the new version

Signed-off-by: Andrew Parlane <andrewp@carallon.com>
Signed-off-by: Will Wagner <willw@carallon.com>
---
  packages/net/lwip_tcpip/current/src/core/mem.c  | 2 +-
  packages/net/lwip_tcpip/current/src/core/memp.c | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/net/lwip_tcpip/current/src/core/mem.c 
b/packages/net/lwip_tcpip/current/src/core/mem.c
index 1659a2c..753162d 100644
--- a/packages/net/lwip_tcpip/current/src/core/mem.c
+++ b/packages/net/lwip_tcpip/current/src/core/mem.c
@@ -179,7 +179,7 @@ struct mem {
   * how that space is calculated). */
  #ifndef LWIP_RAM_HEAP_POINTER
  /** the heap. we need one struct mem at the end and some room for 
alignment */
-u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT];
+u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT] 
MEM_SECTION;
  #define LWIP_RAM_HEAP_POINTER ram_heap
  #endif /* LWIP_RAM_HEAP_POINTER */

diff --git a/packages/net/lwip_tcpip/current/src/core/memp.c 
b/packages/net/lwip_tcpip/current/src/core/memp.c
index 9f680e2..c269fc8 100644
--- a/packages/net/lwip_tcpip/current/src/core/memp.c
+++ b/packages/net/lwip_tcpip/current/src/core/memp.c
@@ -170,7 +170,7 @@ static u8_t *const memp_bases[] = {
  static u8_t memp_memory[MEM_ALIGNMENT - 1
  #define LWIP_MEMPOOL(name,num,size,desc) + ( (num) * (MEMP_SIZE + 
MEMP_ALIGN_SIZE(size) ) )
  #include "lwip/memp_std.h"
-];
+] MEM_SECTION;

  #endif /* MEMP_SEPARATE_POOLS */

-- 
1.8.1.msysgit.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-27 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-27 19:22 [RFC 4/9] * Apply previous ecos modifications to lwip Will Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).