This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
[RFC 4/9] * Apply previous ecos modifications to lwip
- From: Will Wagner <will_wagner at carallon dot com>
- To: eCos development list <ecos-devel at sourceware dot org>
- Date: Thu, 27 Jun 2013 20:22:42 +0100
- Subject: [RFC 4/9] * Apply previous ecos modifications to lwip
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