From: Will Wagner <will_wagner@carallon.com>
To: eCos development list <ecos-devel@sourceware.org>
Subject: [RFC 4/9] * Apply previous ecos modifications to lwip
Date: Thu, 27 Jun 2013 19:22:00 -0000 [thread overview]
Message-ID: <51CC9102.9030002@carallon.com> (raw)
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
reply other threads:[~2013-06-27 19:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51CC9102.9030002@carallon.com \
--to=will_wagner@carallon.com \
--cc=ecos-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).