From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18635 invoked by alias); 14 May 2009 13:31:41 -0000 Received: (qmail 18625 invoked by uid 22791); 14 May 2009 13:31:39 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail01.solnet.ch (HELO mail01.solnet.ch) (212.101.4.135) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 May 2009 13:31:33 +0000 Received: from mail01.solnet.ch ([127.0.0.1]) by localhost (mail01.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id kLtD9xJEaDYd; Thu, 14 May 2009 13:31:28 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail01.solnet.ch (Postfix) with ESMTP id BD3684C849; Thu, 14 May 2009 13:31:28 +0000 (UTC) Received: from beta.intefo.ch ([127.0.0.1]) by localhost (beta.intefo.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id n5IapmWQzY80; Thu, 14 May 2009 15:31:28 +0200 (CEST) Received: from [192.168.1.20] (simon.intefo.ch [192.168.1.20]) by beta.intefo.ch (Postfix) with ESMTP id 55B1D7700CA; Thu, 14 May 2009 15:31:28 +0200 (CEST) Message-ID: <4A0C1D38.30904@intefo.ch> Date: Thu, 14 May 2009 13:31:00 -0000 From: Simon Kallweit User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: David Fernandez CC: eCos development list , John Dallaway , John Eigelaar Subject: Re: lwIP upgrade to CVS HEAD References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-05/txt/msg00021.txt.bz2 David Fernandez wrote: > John Dallaway wrote: >> There's some scope for improving the dependency info. For example, >> CYGIMP_LWIP_MEMP_MEM_MALLOC could specify: >> >> requires { CYGINT_ISO_MEMALLOC != 0 } >> default_value { CYGINT_ISO_MEMALLOC != 0 } >> > > Shouldn't it use "calculated_value" instead of "default_value"? No, calculated_value would not let the user configure lwIP to use the internal allocator when memalloc is available. But I think there are scenarios where this is feasible, as it keeps all allocations for lwIP in a "safe place", not mixing up with the rest of the system. I was wondering to leave the default_value at 0, but I guess most users would expect lwIP to use the system memory allocator when not otherwise specified, so John's suggestion is fine I think. Simon