* libc_strings when memalloc active
@ 2008-04-13 18:08 Andrew Lunn
0 siblings, 0 replies; only message in thread
From: Andrew Lunn @ 2008-04-13 18:08 UTC (permalink / raw)
To: eCos Patches
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
Hi folks
This patch changes some templates such that when memalloc is enabled
libc_string is also included. The dlmalloc code was changed to use
memmove not memcpy, and so needs an implementation of memmove.
Andrew
[-- Attachment #2: memservice.diff --]
[-- Type: text/x-diff, Size: 5508 bytes --]
? packages/templates/net
Index: packages/templates/kernel/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/kernel/ChangeLog,v
retrieving revision 1.5
diff -u -r1.5 ChangeLog
--- packages/templates/kernel/ChangeLog 23 May 2002 23:08:48 -0000 1.5
+++ packages/templates/kernel/ChangeLog 8 Apr 2008 11:09:16 -0000
@@ -1,3 +1,7 @@
+2008-04-08 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * current.ect: Add libc_string which memalloc needs.
+
2000-07-24 Jonathan Larmour <jlarmour@redhat.co.uk>
* current.ect: Fix up after isoinfra and memalloc additions
Index: packages/templates/kernel/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/kernel/current.ect,v
retrieving revision 1.3
diff -u -r1.3 current.ect
--- packages/templates/kernel/current.ect 25 Aug 2000 17:33:50 -0000 1.3
+++ packages/templates/kernel/current.ect 8 Apr 2008 11:09:16 -0000
@@ -16,6 +16,7 @@
package CYGPKG_KERNEL current ;
package CYGPKG_ERROR current ;
package CYGPKG_MEMALLOC current ;
+ package CYGPKG_LIBC_STRING current ;
package CYGPKG_ISOINFRA current ;
};
@@ -30,3 +31,27 @@
cdl_option CYGBLD_ISO_STRERROR_HEADER {
inferred_value 1 <cyg/error/strerror.h>
};
+
+cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/bsdstring.h>
+};
+
+cdl_option CYGFUN_LIBC_STRING_BSD_FUNCS {
+ inferred_value 0
+};
+
+cdl_option CYGBLD_ISO_STRING_MEMFUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_STRFUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
Index: packages/templates/lwip_eth/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/lwip_eth/ChangeLog,v
retrieving revision 1.1
diff -u -r1.1 ChangeLog
--- packages/templates/lwip_eth/ChangeLog 4 May 2004 12:52:48 -0000 1.1
+++ packages/templates/lwip_eth/ChangeLog 8 Apr 2008 11:09:16 -0000
@@ -1,3 +1,7 @@
+2008-04-08 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * current.cdl: Add LIBC_STRING which MEMALLOC now needs.
+
2004-05-04 Jani Monoses <jani@iv.ro>
* current.ect: Create new configuration for lwIP/ethernet
Index: packages/templates/lwip_eth/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/lwip_eth/current.ect,v
retrieving revision 1.1
diff -u -r1.1 current.ect
--- packages/templates/lwip_eth/current.ect 4 May 2004 12:52:48 -0000 1.1
+++ packages/templates/lwip_eth/current.ect 8 Apr 2008 11:09:17 -0000
@@ -14,6 +14,7 @@
package CYGPKG_INFRA current ;
package CYGPKG_KERNEL current ;
package CYGPKG_MEMALLOC current ;
+ package CYGPKG_LIBC_STRING current ;
package CYGPKG_ERROR current ;
package CYGPKG_ISOINFRA current ;
package CYGPKG_NET_LWIP current ;
@@ -36,3 +37,26 @@
inferred_value 1 <cyg/error/strerror.h>
};
+cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/bsdstring.h>
+};
+
+cdl_option CYGFUN_LIBC_STRING_BSD_FUNCS {
+ inferred_value 0
+};
+
+cdl_option CYGBLD_ISO_STRING_MEMFUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_STRFUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
Index: packages/templates/lwip_ppp/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/lwip_ppp/ChangeLog,v
retrieving revision 1.2
diff -u -r1.2 ChangeLog
--- packages/templates/lwip_ppp/ChangeLog 29 Mar 2006 10:30:56 -0000 1.2
+++ packages/templates/lwip_ppp/ChangeLog 8 Apr 2008 11:09:17 -0000
@@ -1,3 +1,7 @@
+2008-04-08 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * current.cdl: Add LIBC_STRING which MEMALLOC now needs.
+
2006-03-22 Uwe Kindler <uwe_kindler@web.de>
* current.ect: Fixed configuration options to match new names of
Index: packages/templates/lwip_ppp/current.ect
===================================================================
RCS file: /cvs/ecos/ecos/packages/templates/lwip_ppp/current.ect,v
retrieving revision 1.2
diff -u -r1.2 current.ect
--- packages/templates/lwip_ppp/current.ect 29 Mar 2006 10:30:56 -0000 1.2
+++ packages/templates/lwip_ppp/current.ect 8 Apr 2008 11:09:17 -0000
@@ -52,3 +52,28 @@
cdl_option CYGDAT_LWIP_PPP_DEV {
user_value "\"/dev/ser1\""
};
+
+cdl_option CYGBLD_ISO_STRING_BSD_FUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/bsdstring.h>
+};
+
+cdl_option CYGFUN_LIBC_STRING_BSD_FUNCS {
+ inferred_value 0
+};
+
+cdl_option CYGBLD_ISO_STRING_MEMFUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_STRFUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRTOK_R_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
+cdl_option CYGBLD_ISO_STRING_LOCALE_FUNCS_HEADER {
+ inferred_value 1 <cyg/libc/string/string.h>
+};
+
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-13 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-13 18:08 libc_strings when memalloc active Andrew Lunn
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).